简体   繁体   中英

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.

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. Try switching to Ruby 1.9.3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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