简体   繁体   English

安装rspec-rails失败(尝试更新到Rails 4.0 / ruby​​ 2.0)

[英]Installing rspec-rails failing (trying to update to rails 4.0/ruby 2.0)

I am getting the following error message in the console after running 运行后,我在控制台中收到以下错误消息

rails generate rspec:install

C:RailsInstaller\Ruby2.0.0\lib\ruby\gems\2.0.0\gems\sqlite3-1.3.7-x86-mingw32/lib/sqlite3.rb:6:in 'require' : cannot load such file -- sqlite3/sqlite3_native (LoadError)

followed by several more messages saying similar things, but instead of 'require', there are other messages like 'block', 'each', 'block in require', etc. 接下来是几条类似的消息,但不是“ require”,而是其他消息,例如“ block”,“ each”,“ block in require”等。

Any suggestions as to how to get this installed? 有关如何安装此程序的任何建议?

Thanks! 谢谢!

According to this bug report , this a problem with C compiling in Ruby 2.0.0. 根据此错误报告 ,这是在Ruby 2.0.0中进行C编译的问题。 Try switching to Ruby 1.9.3 尝试切换到Ruby 1.9.3

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM