Chris Muench
Chris Muench

Reputation: 18338

no such file to load -- bundler/setup (Ruby on rails)

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?

Upvotes: 18

Views: 21431

Answers (4)

Matt
Matt

Reputation: 17649

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.

Upvotes: 31

Moritz Mair
Moritz Mair

Reputation: 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.

Upvotes: -1

weexpectedTHIS
weexpectedTHIS

Reputation: 3376

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/

Upvotes: 1

andy kim
andy kim

Reputation: 41

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

Upvotes: 0

Related Questions