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

cannot require 'ridley' to 'rye' #53

Open
donfanning opened this issue May 9, 2014 · 1 comment
Open

cannot require 'ridley' to 'rye' #53

donfanning opened this issue May 9, 2014 · 1 comment

Comments

@donfanning
Copy link

If I were to create the following two line program:

require 'rye'
require 'ridley'

The application when executed by ruby will immediately explode and many small children and puppies become hurt by it.

However, if I write an application requiring them individually, all the world is right with many woodland animals rubbing against my legs. I can't tell if Ridley is the issue or if 'rye' is as Ridley supposedly has addressed the issue before.

/home/username/.rvm/gems/ruby-2.0.0-p353/gems/buff-extensions-0.5.0/lib/buff/extensions/boolean.rb:1:in `<top (required)>': Boolean is not a module (TypeError)
    from /home/username/.rvm/gems/ruby-2.0.0-p353/gems/buff-extensions-0.5.0/lib/buff/extensions.rb:7:in `require_relative'
    from /home/username/.rvm/gems/ruby-2.0.0-p353/gems/buff-extensions-0.5.0/lib/buff/extensions.rb:7:in `<top (required)>'
    from /home/username/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/username/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/username/.rvm/gems/ruby-2.0.0-p353/gems/varia_model-0.3.2/lib/varia_model.rb:1:in `<top (required)>'
    from /home/username/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/username/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/username/.rvm/gems/ruby-2.0.0-p353/gems/ridley-3.1.0/lib/ridley/chef_object.rb:1:in `<top (required)>'
    from /home/username/.rvm/gems/ruby-2.0.0-p353/gems/ridley-3.1.0/lib/ridley.rb:63:in `require_relative'
    from /home/username/.rvm/gems/ruby-2.0.0-p353/gems/ridley-3.1.0/lib/ridley.rb:63:in `<module:Ridley>'
    from /home/username/.rvm/gems/ruby-2.0.0-p353/gems/ridley-3.1.0/lib/ridley.rb:13:in `<top (required)>'
    from /home/username/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require'
    from /home/username/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
    from /home/username/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
    from ryebugtest.rb:2:in `<main>'
@donfanning
Copy link
Author

Issue opened against Ridley:
berkshelf/ridley#269

Already has comment:

"@donfanning this is because Rye is defining the constant Boolean as a class 
and then Ridley is requiring in the Buff-Extensions library which is attempting 
to define the same constant as a Module."

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

No branches or pull requests

1 participant