Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby warning: circular require considered harmful #84

Closed
ralfclaassens opened this issue Jan 12, 2015 · 1 comment · Fixed by #95
Closed

Ruby warning: circular require considered harmful #84

ralfclaassens opened this issue Jan 12, 2015 · 1 comment · Fixed by #95

Comments

@ralfclaassens
Copy link

The warning below shows that there is something wrong in the way of 'require' in this commander-gem. Would be nice to clean this up.

ruby/2.1.1/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55: warning: loading in progress, circular require considered harmful - /.gem/gems/commander-4.2.1/lib/commander.rb
from packager:23:in  `<main>'
from packager:23:in  `load'
from /.gem/gems/packaging-1.1.1.pre/bin/packager:3:in  `<top (required)>'
from /ruby/2.1.1/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in  `require'
from /ruby/2.1.1/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in  `require'
from /.gem/gems/packaging-1.1.1.pre/lib/generator_command.rb:3:in  `<top (required)>'
from /ruby/2.1.1/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in  `require'
from /ruby/2.1.1/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in  `require'
from .gem/gems/commander-4.2.1/lib/commander.rb:33:in  `<top (required)>'
from /ruby/2.1.1/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in  `require'
from /ruby/2.1.1/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in  `require'
from /.gem/gems/commander-4.2.1/lib/commander/methods.rb:1:in  `<top (required)>'
from /ruby/2.1.1/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in  `require'
from /ruby/2.1.1/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in  `require
@ggilder
Copy link
Collaborator

ggilder commented Jan 13, 2015

Linking #87

@ggilder ggilder mentioned this issue Feb 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants