最近,我的红宝石遇到了很多麻烦。
现在,每当我尝试bundle install
在我的项目上运行时,我都会收到以下错误:
bundle install
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/bundler- 1.3.5/lib/bundler/rubygems_integration.rb:172:in `security_policies': uninitialized constant Gem::Security::Policies (NameError)
from /usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/cli.rb:175:in `<class:CLI>'
from /usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/cli.rb:6:in `<module:Bundler>'
from /usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/cli.rb:5:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/bin/bundle:18:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.0.0-p247@global/bin/bundle:23:in `load'
from /usr/local/rvm/gems/ruby-2.0.0-p247@global/bin/bundle:23:in `<main>'
from /usr/local/rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'
我试过重新安装红宝石,我试过rvm get head
了gem update --system
rvm package
我还尝试通过和卸载并重新安装 OpenSSL brew install
。
而且我已经尝试完全破坏 RVM 并重新开始,但这似乎都不起作用。这似乎发生在我转会到小牛队之后。
有没有人知道可能会发生什么?我在这呆了3天...
编辑:
我对所有这些红宝石都有同样的问题:
- 1.9.3
- 2.0.0-p195
- 2.0.0-p247
- 2.1.0-预览1