添加自定义路径到ruby gems

时间:2011-12-06 02:43:19

标签: ruby-on-rails ruby

我正在使用HostGator共享主机,并在cPanel的RubyGems部分显示:

You will need to add /home/popboard/ruby/gems to the include path. 
You can do this by adding the following code to your script:
$:.push("/home/popboard/ruby/gems")

我在哪里将该推送脚本放在rails应用程序中,以便找到这些用户安装的宝石?

谢谢!

0 个答案:

没有答案