Alright, so I looked more info this and found out I was missing rblib,
which I couldn't find in git (where I got the codebase). I got it (the
rblib folder)from the cvs daily build and put it in ./ (the
whatdotheyknow directory) ./script and ./config in a directory called
rblib. I also copied the contents to each of those directories and the
error message went away.

Unfortunately, I've run into another trip-up when running the install script,

==  ChangeRawEmailToBinary: migrating =========================================
-- change_column(:raw_emails, :data, :binary, {:null=>true})
rake aborted!
An error has occurred, this and all later migrations canceled:

PGError: ERROR:  column "data" cannot be cast to type "bytea"
: ALTER TABLE "raw_emails" ALTER COLUMN "data" TYPE bytea

(See full trace by running task with --trace)


Does anybody know what this means or how I might fix it?

Thanks,
Ringo


On Thu, Feb 18, 2010 at 1:43 PM, Ringo Kamens <[email protected]> wrote:
> Hey mysociety developers,
>
> I'm having some trouble installing the codebase for whatdotheyknow on
> my debian server (5.0). I followed the instructions verbatim except I
> changed the config/packages file by removing all of parenthesis and <>
> marks because aptitude and apt-get couldn't parse them properly.
> Everything seemed to work fine but then I got this error when running
> ./script/rails-post-deploy:
>
> *****************************************************************
> WARNING: About to make config/rails_env.rb which, via special
> code in config/boot.rb, forces the Rails environment to be a
> particular one - this is used for the mySociety deployment
> system. You don't want it for local development, because it will
> not work in a confusing way you try and use two environments
> (e.g. development and test) in the same working directory.
> *****************************************************************
>
> (in /var/www/mynetblog.com/www/records)
> rake aborted!
> no such file to load -- validate.rb
> /var/www/mynetblog.com/www/records/Rakefile:10
> (See full trace by running task with --trace)
>
>
> Does anybody have any idea what's causing this? I tried running
> ./script/rails-post-deploy --trace but I didn't get any additional
> debugging information. I'm supposed to have this finished by tomorrow
> so anybody who can help would be a lifesaver. Also, I hope this is the
> right list to post this to, wasn't sure.
>
> Thanks,
> Ringo
>

_______________________________________________
Mailing list [email protected]
Archive, settings, or unsubscribe:
https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public

Reply via email to