Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Buff-Extensions use of Boolean symbol collides with other rubygems #269

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

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. But as there was another bug for this app with this same exception got closed without any real fix (Bug #205 ), I'd like to open a new bug into it.

/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>'
@reset
Copy link
Collaborator

reset commented May 9, 2014

@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.

@lamont-granquist lamont-granquist added this to the Help Wanted milestone Oct 19, 2016
@lamont-granquist lamont-granquist changed the title Boolean is not a module Buff-Extensions use of Boolean symbol collides with other rubygems Oct 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants