2010-05-28 29 views
0

我從服務器下載了一個rails應用程序,並試圖運行它。我在遷移時遇到了錯誤面對libxml.rb問題

D:\Radiant\trunk>rake db:migrate 
(in D:/Radiant/trunk) 
rake aborted! 
126: The specified module could not be found. - D:/Radiant/trunk/config/../ven 
dor/plugins/libxml-ruby/lib/libxml_ruby.so 

我得到了windows版本的libxml_ruby。我再次嘗試。

我收到錯誤消息說找不到「libxml2.dll」。然後我檢查了文件libxml.rb。它說下面的幾行。

# If running on Windows, then add the current directory to the PATH 
# for the current process so it can find the pre-built libxml2 and 
# iconv2 shared libraries (dlls). 

有人可以解釋我究竟是什麼意思?

問候 拉克什小號

回答

0

如果您已成功安裝在你的窗口中的libxml-紅寶石寶石,搜索系統上libxml2.dll。你會在gem文件夾中找到它。複製此文件並將其保存在<ruby_install_dir>\bin中。