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

Coercion error: nil.to_int => Integer failed #2436

Closed
snusnu opened this issue Jul 8, 2013 · 3 comments
Closed

Coercion error: nil.to_int => Integer failed #2436

snusnu opened this issue Jul 8, 2013 · 3 comments

Comments

@snusnu
Copy link

snusnu commented Jul 8, 2013

Sorry for not having the time/energy (again) to come up with a smaller script to reproduce. Here's the error I get: https://travis-ci.org/snusnu/substation/jobs/8858317

To reproduce locally, bundle https://github.com/snusnu/substation and then run bundle exec rake ci.

Thx for looking into it!

@yorickpeterse
Copy link
Contributor

When running bundle install I'm greeted with the following error:

Bundler could not find compatible versions for gem "anima":
  In Gemfile:
    ducktrap (~> 0.0.1) ruby depends on
      anima (~> 0.1.1) ruby

    anima (0.0.7)

I'm not sure if this is a recent change but it could be the reason for the test suite not working. Mind you I get the same error on Ruby 2.0.

@snusnu
Copy link
Author

snusnu commented Sep 19, 2013

@yorickpeterse I just updated the dependencies to allow bundling, and the error when running rubocop went away, so I suppose it's been fixed in the meantime.

I'm not sure wether this still is of any relevance, but the bug was initially triggered by the ast gem used in parser. So maybe it was a bug in one of those libs in the first place. No idea.

Thx for caring!

EDIT: Link to initial error: http://pastie.org/pastes/8340200/text

@yorickpeterse
Copy link
Contributor

I'll close this one for now. I ran the test suites of ast, parser and substation and all 3 of them pass fine. Probably has been fixed in the mean time as you mentioned.

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

2 participants