1
Using Your Ruby Gem(s)
You will need to add /home/username/ruby/gems to the include path.
You can do this by **adding the following code to your script**:
$:.push("/home/username/ruby/gems")
它们指的是哪些脚本?这是模糊的...我在哪里添加目录到Ruby包含路径?如何获得rails 2.3.3应用程序在fastcgi上运行Bluehost
看起来像你得到它,+1的详细说明,我删除了我的答案,以减少混乱。 – 2009-08-27 02:07:28
我完全按照教程,我仍然抱怨。你真的键入/路径///他们/家/红宝石/宝石?如果不是,bluehost上的路径/他/他/家是什么? – 2009-09-06 03:11:18
@rpflo:不,你实际上没有输入。你把你的用户的宝石路径,然后服务器宝石路径。因此,如果运行命令“echo〜”并返回“/ home/user1”作为输出,我会将我的gem路径设置为“/home/user1/ruby/gems:/usr/lib/ruby/gems/1.8” - 希望有所帮助。 – cakeforcerberus 2009-09-06 20:50:04