Rubygems 2.0.14 is not threadsafe bunder install message when using - RUBYGEMS VERSION: 2.4.5.1

戏子无情 提交于 2019-12-08 20:06:47

问题


When running the bundle install I get the following message:

Rubygems 2.0.14 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.

Which is strange because in my RubyGems Environment it says my RubyGems Version is: 2.4.5.1 (see below)

~/w/Rafftopia ❯❯❯ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 2.4.5.1
  - RUBY VERSION: 2.2.5 (2016-04-26 patchlevel 319) [x86_64-darwin14]
  - INSTALLATION DIRECTORY: /Users/phillipjones/.gem/ruby/2.2.5
  - RUBY EXECUTABLE: /Users/phillipjones/.rubies/ruby-2.2.5/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/phillipjones/.gem/ruby/2.2.5/bin
  - SPEC CACHE DIRECTORY: /Users/phillipjones/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/phillipjones/.rubies/ruby-2.2.5/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-14

回答1:


run sudo gem update --system

reference: http://blog.rubygems.org/2017/03/16/2.6.11-released.html



来源:https://stackoverflow.com/questions/38279896/rubygems-2-0-14-is-not-threadsafe-bunder-install-message-when-using-rubygems-v

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!