18

I am attempting to get a rails 3.0.5 app up and running at http://blastoserver.com/. You can see the errors there. (backtrace)

Any ideas?

Chris Muench
  • 17,444
  • 70
  • 209
  • 362

4 Answers4

31

Try gem install bundler. If that doesn't work my guess would be that you're using two different ruby or rubygems installations. The user running the webserver does not see the bundler gem.

Matt
  • 17,290
  • 7
  • 57
  • 71
  • 2
    "The user running the webserver does not see the bundler gem" - This! My rubygems is different in the app's ENV than it is for Pow. – Simpleton Apr 17 '13 at 07:56
1

Make sure you are running "bundle exec ..." for example: "bundle exec rake -T" instead of just "rake -T". This makes sure that you are executing the command in the context of gem bundle.

For more info, look at: http://gembundler.com/

weexpectedTHIS
  • 3,358
  • 1
  • 25
  • 30
0

I guess you need 'bundle install' or forget rake db:migrate command.

andy kim
  • 41
  • 2
-1

If seems that it depends on the user. If you run this command on a ssh access as root user make sure not so use the "sudo" in the front. That fixed it for me.