Disable RVM or use Ruby which was installed without RVM?

后端 未结 2 746
借酒劲吻你
借酒劲吻你 2021-01-31 08:32

For rails application I had installed Ruby 1.8.7 and Rails 2.3.11. And it was working fine. After that I have installed RVM and REE. So while running ruby script/server it\'s u

相关标签:
2条回答
  • 2021-01-31 09:01

    Try rvm use system to use the system ruby which is not managed via. rvm.

    0 讨论(0)
  • 2021-01-31 09:03

    This works!

    This means to set the "system" ruby as default, you reset RVM's defaults as follows.

    rvm reset
    

    NOTE: it works only when there is no default ruby set:

    rvm alias delete default
    

    https://rvm.io/rubies/default/

    0 讨论(0)
提交回复
热议问题