11155
(-- --)
April 18, 2011, 10:40pm
1
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.
Con
(Con)
April 19, 2011, 12:25am
2
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
11155
(-- --)
April 19, 2011, 10:41am
3
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.
fxn
(Xavier Noria)
April 19, 2011, 12:02pm
4
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:
Contributing to Ruby on Rails — Ruby on Rails Guides
Thanks!