[英]after bundle install error kernel_require.rb:55:in `require': cannot load such file — bundler (LoadError)
On remote server I downloaded project. 在远程服务器上,我下载了项目。 In root directory project run bundle install. 在根目录项目中运行捆绑安装。 Display error: 显示错误:
/usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)
from /usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/bin/bundle:7:in `<main>'
I check current ruby version. 我检查当前的红宝石版本。 is 是
ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
I dont undestand why this error. 我不明白为什么这个错误。 But think, its becose i removed rvm from machine and manual installed ruby 2.3.1 without ruby manager. 但是请考虑一下,因为我从机器上删除了rvm并在没有ruby管理器的情况下手动安装了ruby 2.3.1。 Help please. 请帮助。 Thank you. 谢谢。
Perhaps, you missed install gem bundler
, try to install it first: 也许,您错过了install gem bundler
,请尝试首先安装它:
gem install bundler
then run bundle install
again 然后再次运行bundle install
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.