0

当我rake db:migrate在 Mac OS X 10.8.3 上运行 Ruby 1.9.3p194 的 Rails 3.2.12 应用程序中运行时出现此错误。

这是输出:

/Users/redgem/.rvm/gems/ruby-1.9.3-p194@rails32/gems/rake-0.8.7/lib/rake/alt_system.rb:32: Use RbConfig instead of obsolete and deprecated Config.
(in /Users/redgem/viper)
WARNING: rake-compiler found compiled files in 'ext/mysql2' directory. Please remove them.
rake-compiler must be configured first to enable cross-compilation
rake-compiler must be configured first to enable cross-compilation
rake aborted!
Don't know how to build task 'db:migrate'

有想法该怎么解决这个吗?我已经查看了其他 SO 问题,但没有一个与 rake 有关。谢谢!

4

0 回答 0