browsercms

undefined method `name' for “actionmailer”:String

橙三吉。 提交于 2019-11-29 03:29:30
I've an old version of Rails project which was built using BrowserCMS in the config/environment file RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION so I installed this gems using rvm so I can run it $ 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) I run rake db:create it works fine, but when I run rake db:migrate I got this error rake aborted! undefined method `name' for

undefined method `name' for “actionmailer”:String

£可爱£侵袭症+ 提交于 2019-11-27 17:36:24
问题 I've an old version of Rails project which was built using BrowserCMS in the config/environment file RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION so I installed this gems using rvm so I can run it $ 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) I run rake db:create it works fine,