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