undefined method `name' for “actionmailer”:String

前端 未结 2 864
闹比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.

    0 讨论(0)
  • 2020-12-16 14:27

    I think you should update the RubyGems version.
    Try gem install rubygems-update.

    0 讨论(0)
提交回复
热议问题