Installing a pre-existing rails app
Posted by: bastes
Posted on: 2007-09-23 04:04:00
Hi.
I've been having difficulties installing a pre-existing rails app on my server, and I don't know what to do now to get it to work. Here's what I did, following the wiki http://wiki.dreamhost.com/Rails :
- got my app from my svn repository :
> svn export {my svn server} {the app dir}
- made a fake rails app to copy the dispatch.fcgi as per instructions
- edited the {the app dir}/public.htaccess to direct it to the dispatch.fcgi as per instructions
- made a symbolic link to {the app dir} in my domain name root dir as per instructions
What I now get when I connect to http://{my domain name}/{my app dir} is :
Application error
Rails application failed to start properly
I tried to run
> rake db:migrate
and I got :
/usr/bin/rake:17:Warning: require_gem is obsolete. Use gem instead.
(in {the app dir})
rake aborted!
no such file to load -- {the app dir}/config/../vendor/rails/railties/lib/initializer
{the app dir}/Rakefile:4
(See full trace by running task with --trace)
It's my second server posting experience, so I may have missed some critical step, and I don't see how to get further.
Has anyone any idea how to get things to work ?