使用 rake db:create 在 Rails 中出现分段错误 [英] Segmentation fault with rake db:create in Rails
本文介绍了使用 rake db:create 在 Rails 中出现分段错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在
错误输出为:
/home/[username]/.rvm/gems/ruby-1.9.2-p0/gems/sqlite3-1.3.3/lib/sqlite3/sqlite3_native.so: [BUG] Segmentation fault
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
Aborted
我尝试遵循 http://guides.rubyonrails.org/getting_started.html 我在一个全新的项目中遇到了同样的错误.
I tried following the sample tutorial at http://guides.rubyonrails.org/getting_started.html and I get the same error with a brand new project.
推荐答案
相反,你应该试试 rake db:migrate
Instead you should probably try rake db:migrate
这篇关于使用 rake db:create 在 Rails 中出现分段错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文