加載hpricot寶石時出現問題。 我在耙子任務中使用它,並在其中放入一個require "hpricot"
。 但它不會加載錯誤消息:no such file to load -- hpricot
但是我會在我的寶石列表中看到它,但不知道爲什麼rake任務無法識別它。 有沒有人有與hpricot寶石這種問題的經驗?加載hpricot寶石時出現問題
的gem list -d hpricot
輸出:
*** LOCAL GEMS ***
hpricot (0.8.3)
Author: why the lucky stiff
Rubyforge: http://rubyforge.org/projects/hobix
Homepage: http://code.whytheluckystiff.net/hpricot/
Installed at: /Library/Ruby/Gems/1.8
a swift, liberal HTML parser with a fantastic lib
我做到了,但結果仍然相同。 – LeonS 2011-01-29 22:14:15