Your Ruby version is 2.1.0, but your Gemfile specified 2.0.0

前端 未结 2 2012
误落风尘
误落风尘 2020-12-19 21:22

In my Gemfile I specified ruby version 2.0.0:

ruby \'2.0.0\'

But my console tells me I have 2.1.0dev:

$ ruby -v
ruby 2.1.0d         


        
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-19 21:52

    You may need to update your version of ruby-build to make sure you have the update where ruby-2.0.0-dev switched to follow the ruby_2_0_0 branch.

    Try running ruby-build --version and make sure it's one of these (or later):

    • v20130907
    • v20130901
    • v20130806
    • v20130628
    • v20130518
    • v20130514
    • v20130501
    • v20130408
    • v20130227
    • v20130226
    • v20130225

    If not, run brew upgrade ruby-build.

提交回复
热议问题