Skip to content

Requires out of order? #1

@bcarpenter

Description

@bcarpenter

If I open up irb and try shippinglogic, I get:

>> require 'shippinglogic'
NameError: undefined method `==' for class `ActiveSupport::BasicObject'
    from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/basic_object.rb:12:in `undef_method'
    from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/basic_object.rb:12
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
.......

But if I do this in irb:

>> require 'activesupport'
=> true
>> require 'shippinglogic'
=> []
>> 

I have a fix in my github acct, that reorders the requires:

http://github.com/bcarpenter/shippinglogic/commit/d80832d612005dd0213e2cae7ecb4a2325d86e79

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions