Monday, April 18, 2011

[Rails] ActiveSupport 3.0.6: require 'active_support/core_ext' generates "circular require" warning

Hello,

i noticed some strange warnings when doing

require 'active_support/core_ext'

with activesupport 3.0.6.
If i do

gem 'activesupport', '=3.0.5'
require 'active_support/core_ext'

then it works fine.
Is this a bug in rails 3.0.6?

More precisely, if i do

$ irb -w
> require 'active_support/core_ext'

i get a warning "warning: loading in progress, circular require
considered harmful" with a long page of explanations.
If i do

$ irb -w
> gem 'activesupport', '=3.0.5'
> require 'active_support/core_ext'

then it is fine.

What is this warning about?

Thanks.

Alexey.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate