Tag: browsercms

“actionmailer”的未定义方法“name”:String

我有一个旧版本的Rails项目,它是在config / environment文件中使用BrowserCMS构建的 RAILS_GEM_VERSION = ‘2.3.4’ unless defined? RAILS_GEM_VERSION 所以我使用rvm安装了这个gem,所以我可以运行它 $ gem list *** LOCAL GEMS *** actionmailer (2.3.8, 2.3.4) actionpack (2.3.8, 2.3.4) activerecord (2.3.8, 2.3.4) activeresource (2.3.8, 2.3.4) activesupport (2.3.8, 2.3.4) bundler (1.1.4) mysql (2.8.1) rack (1.1.3, 1.0.1) rails (2.3.4) rake (0.8.7) 我运行rake db:create它工作正常,但是当我运行rake db:migrate了这个错误 rake aborted! undefined method `name’ for “actionmailer”:String 我尝试过使用Trace,但我没有得到任何帮助 $ […]