虎克的博客

Enthusiasm Biogeography-Biodiversity Informatics-Data Sciences

Ruby测试程序出错的解决方法

| Comments

当开始测试Ruby测试程序时,出现we are sorry something wrong, 然后检查log文件夹里面的development.log文件发现如下
错误信息,“no such file to load sqlite3 rails”。出现错误的原因是sqlite3-ruby版本本身的bug,解决的方法是:
 
Suggestion is DO NOT using sqlite3-ruby version =1.2.2, try to using
version 1.2.1.
I fixed it this same problem, through:
# gem uninstall sqlite3-ruby
# gem install sqlite3-ruby -v=1.2.1

Comments