aMiGa
aMiGa

Reputation: 31

Cannot start Rails Server, "no such file to load -- bundler/setup"

var/www/amidev/config/boot.rb:6:in `require': no such file to load -- bundler/setup (LoadError)
    from /var/www/amidev/config/boot.rb:6:in `<top (required)>'
    from script/rails:5:in `require'
    from script/rails:5:in `<main>'

I have got the following error and cannot find solution to fix it ?

Please advise.

Upvotes: 3

Views: 15720

Answers (2)

weexpectedTHIS
weexpectedTHIS

Reputation: 3376

Make sure you are executing whatever command you are executing here with "bundle exec".

For instance:

bundle exec rake -T

instead of:

rake -T

Source: http://gembundler.com/

Upvotes: 3

changelog
changelog

Reputation: 4681

You need to install the bundler gem.

To do that, just run gem install bundler and try again.

Upvotes: 17

Related Questions