Set ruby version in Gemfile

前端 未结 2 506
情深已故
情深已故 2021-02-07 01:32

I can set ruby version in Gemfile as follows:

ruby \'2.0.0\'

But what if I want to have a particular version as 2.0.0-p353

2条回答
  •  深忆病人
    2021-02-07 01:53

    If anyone is looking to be reminded of how to NOT specify a minor version, (yeah call me a noob) you could do:

    ruby ">=2.2"
    

    which would allow 'bundle install' call with ruby 2.2.4.

提交回复
热议问题