Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/59.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails libxml.rb面临的问题_Ruby On Rails - Fatal编程技术网

Ruby on rails libxml.rb面临的问题

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版本

我从服务器下载了一个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版本的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