Bugs item #29266, was opened at 2011-06-09 03:46
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=29266&group_id=126

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Behrang Saeedzadeh (behrangsa)
Assigned to: Nobody (None)
Summary: undefined method `name' for "actionmailer":String

Initial Comment:
After creating an RoR 2.3.9 using Ruby 1.8.7 I uncommented the following line

# config.gem "bj"

And then ran rake gems:install. Rake aborted and the following message was 
printed on the screen:

$ rake gems:install
(in /Users/Foo/Bar/Baz)
rake aborted!
undefined method `name' for "actionmailer":String


----------------------------------------------------------------------

>Comment By: Luis Lavena (luislavena)
Date: 2011-06-09 09:49

Message:
Hello,

No, according to Aaron Patterson (Rails-Core) to fix that and make Rails use 
RubyGems 1.8.x API fully will require a complete overhaul of that part of Rails.

Rails 3.0.x and 3.x are better candidates for getting that fixed.


----------------------------------------------------------------------

Comment By: Behrang Saeedzadeh (behrangsa)
Date: 2011-06-09 09:41

Message:
Thanks Ryan. Upgrading to 2.3.12 fixed the problem. But I still get these 
deprecation messages when I run the server:

NOTE: Gem.source_index is deprecated, use Specification. It will be removed on 
or after 2011-11-01.
Gem.source_index called from 
/Users/behrangsa/.rvm/gems/ruby-1.8.7-p334@developious/gems/rails-2.3.12/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be 
removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from 
/Users/behrangsa/.rvm/gems/ruby-1.8.7-p334@developious/gems/rails-
2.3.12/lib/rails/vendor_gem_source_index.rb:100.

Is there a way to fix/hide these messages?

Cheers,
Behrang

----------------------------------------------------------------------

Comment By: Ryan Davis (zenspider)
Date: 2011-06-09 07:52

Message:
This is a bug in rails. The fix was just released in 2.3.12.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=29266&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to