gem - v或gem install bundler给出错误轨道

时间:2016-01-26 07:35:54

标签: ruby-on-rails ruby rubygems elastic-beanstalk

目前在我的系统上,我已经安装了rbenvrvm两者。当我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 rubywhich 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

任何帮助将不胜感激。

0 个答案:

没有答案