Rails is not using my global Ruby version

前端 未结 3 1620
执笔经年
执笔经年 2021-01-12 04:18

I want to use Rails with Ruby 2.1.0, but it\'s using Ruby 1.9.3 (the system\'s version).

I\'m using rbenv to manage my Ruby versions. My steps were something along t

3条回答
  •  时光说笑
    2021-01-12 04:37

    Try creating a .ruby-version file in the root of your project with the following contents:

    2.1.0
    

提交回复
热议问题