How to set Ruby's load path externally

后端 未结 4 539
我在风中等你
我在风中等你 2020-12-08 01:02

I have a custom Ruby library directory that I\'d like to have automatically added to Ruby\'s load path whenever Ruby is executed. I know I can use the -I optio

4条回答
  •  一整个雨季
    2020-12-08 01:25

    Make life easy and install RVM. It will install whatever version of Ruby you want and let you switch between them and it doesn't require root access. It has many other killer features you will become addicted to after using it for a while.

提交回复
热议问题