undefined method `name' for “actionmailer”:String

前端 未结 2 869
闹比i
闹比i 2020-12-16 13:49

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_GE         


        
2条回答
  •  悲哀的现实
    2020-12-16 14:22

    I had this problem. The solution is to downgrade rubygems to a version you support.

    I needed version 1.3.5 (for rails 2.3.5)

    So you need to do:

    gem install rubygems-update -v 1.3.5

    update_rubygems --version=1.3.5

    And now rake should work.

提交回复
热议问题