我在Mac OS X 10.8.3上运行Ruby 1.9.3p194的Rails 3.2.12应用程序中运行rake db:migrate
时收到此错误。
这是输出:
/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。谢谢!