Ruby on rails libxml.rb面临的问题
我从服务器下载了一个rails应用程序,并尝试运行它。我在迁移时遇到了一个错误Ruby on rails libxml.rb面临的问题,ruby-on-rails,Ruby On Rails,我从服务器下载了一个rails应用程序,并尝试运行它。我在迁移时遇到了一个错误 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版本
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).
谁能解释一下这到底是什么意思
问候
Rakesh S如果您已在windows上成功安装了libxml ruby gem,请在系统上搜索libxml2.dll。您将在gem文件夹中找到它。复制此文件并将其保存在
\bin
中