Well, in Rails 2.3+ (maybe 2.2+) the app/controllers/application.rb is
now referred to as app/controllers/application_controller.rb - maybe
the issue is attributed to that? If Dreamhost doesn't have the latest
version of Rails installed, and you don't have your Rails frozen to
vendor/rails (which you should be doing on a shared host), then Rails
would be looking for application.rb instead of
application_controller.rb, in which case it wouldn't find (hence the
MissingSourceFile error).
To freeze your latest installment of Rails, from your local machine,
do:
$> cd /path/to/your/rails/app
$> rake rails:freeze:gems
That will put a copy of Rails into vendor/rails and then when your app
loads, it won't care what Dreamhost has installed. Then re-deploy and
see if that helps.
On May 21, 2:19 pm, ryanlives <
Ryanli...@gmail.com> wrote:
> I am a newbie to Rails and this is my first attempt at a Rails
> deployment. I used Capistrano and instructions athttp://
railstips.org/2008/12/14/deploying-rails-on-dreamhost-with-pas...
> to deploy my application, however, I'm getting this error:
>
> "no such file to load -- application (MissingSourceFile)"
>
> You can see the error message athttp://
gumho.org.