目前在我的系统上,我已经安装了rbenv
和rvm
两者。当我which ruby
时,/home/ijunaidfarooq/.rbenv/shims/ruby
给了我which rails
,/home/ijunaidfarooq/.rbenv/shims/rails
它给了我gem install bundler
。
但在执行Error loading RubyGems plugin "/home/ijunaidfarooq/.rvm/gems/ruby-2.2.2@global/gems/executable-hooks-1.3.2/lib/rubygems_plugin.rb": cannot load such file -- executable-hooks/wrapper (LoadError)
Error loading RubyGems plugin "/home/ijunaidfarooq/.rvm/gems/ruby-2.2.2@global/gems/gem-wrappers-1.2.7/lib/rubygems_plugin.rb": cannot load such file -- gem-wrappers (LoadError)
时,它会安装gem但出现错误
.rvm/gems
显示其which ruby
按which rails
和.rbenv/shims
显示,进入Error loading RubyGems plugin "/home/ijunaidfarooq/.rvm/gems/ruby-2.2.2@global/gems/executable-hooks-1.3.2/lib/rubygems_plugin.rb": cannot load such file -- executable-hooks/wrapper (LoadError)
Error loading RubyGems plugin "/home/ijunaidfarooq/.rvm/gems/ruby-2.2.2@global/gems/gem-wrappers-1.2.7/lib/rubygems_plugin.rb": cannot load such file -- gem-wrappers (LoadError)
2.4.5
即使在做宝石-v它给我这个
awselasticbeanstalk
应用程序在localhost上完全正常工作但是当我更新一些宝石并在cannot load such file -- bundler/setup
上部署时,它给出了我的错误
1.0
任何帮助将不胜感激。