rake db 的分段错误:在 Rails 中创建 [英] Segmentation fault with rake db:create in Rails

查看:18
本文介绍了rake db 的分段错误:在 Rails 中创建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 rake db:create in a 时遇到了分段错误

I'm running into a segmentation fault when I do rake db:create in a

错误输出为:

/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 的分段错误:在 Rails 中创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆