开发者

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

开发者 https://www.devze.com 2023-03-14 10:15 出处:网络
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)>\'
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 `requir开发者_开发技巧e'
    from script/rails:5:in `<main>'

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

Please advise.


You need to install the bundler gem.

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


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/

0

精彩评论

暂无评论...
验证码 换一张
取 消