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

Requires out of order? #1

Open
bcarpenter opened this issue Sep 21, 2009 · 0 comments
Open

Requires out of order? #1

bcarpenter opened this issue Sep 21, 2009 · 0 comments

Comments

@bcarpenter
Copy link

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

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