Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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
like image 646
phillipjones1 Avatar asked Jul 09 '16 08:07

phillipjones1


1 Answers

run sudo gem update --system

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

like image 76
PatrickDotStar Avatar answered Oct 14 '22 04:10

PatrickDotStar