[~/redmine]# RAILS_ENV=production rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:migrate
== InsertBuiltinRoles: migrating =============================================
/usr/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-08 patchlevel 173) [x86_64-linux]
Aborted (core dumped)
尝试安装redmine并在尝试迁移数据库时获取此信息。没有谷歌,任何建议?尝试过使用mysql2适配器,每次运行时都会遇到新的段错误。
答案 0 :(得分:0)
我很想说问题不是来自Redmine,而是来自你的Ruby安装。
您是否在系统上重新安装/更新了libyaml?
旁注:你应该使用Ruby 1.9,除非你真的需要1.8版本。