Alexey Muranov
2011-Apr-18 22:40 UTC
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Conrad Taylor
2011-Apr-19 00:25 UTC
Re: ActiveSupport 3.0.6: require ''active_support/core_ext'' generates "circular require" warning
On Mon, Apr 18, 2011 at 3:40 PM, Alexey Muranov <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> 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? > >Alexey, I would recommend filing a ticket/issue against the gem on github.com. However, if it''s just a warning, I wouldn''t worry too much about it. Good luck, -Conrad> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Alexey Muranov
2011-Apr-19 10:41 UTC
Re: ActiveSupport 3.0.6: require ''active_support/core_ext'' generates "circular require" warning
This warning is still generated in activesupport 3.0.7. I submitted a bug report here: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6721 Is this the right place? 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Xavier Noria
2011-Apr-19 12:02 UTC
Re: Re: ActiveSupport 3.0.6: require ''active_support/core_ext'' generates "circular require" warning
On Tue, Apr 19, 2011 at 12:41 PM, Alexey Muranov <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> This warning is still generated in activesupport 3.0.7. > > I submitted a bug report here: > > http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6721 > > Is this the right place?Perfect. A patch solving the issue increases the likelihood of being fixed by some orders of magnitude :). I encourage you to try it, there''s a guide that may help: http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html Thanks! -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.