Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Bundler Warnings: Method revision redefined #2109

TylerBrock opened this Issue Sep 25, 2012 · 3 comments


None yet
2 participants

Whenever i run a test/unit test under 1.8.7:

bundler-1.2.1/lib/bundler/source.rb:516: warning: method redefined; discarding old revision

[EDIT] Title edited for clarity by @rohit


rohit commented Sep 25, 2012

This is not an error but a warning. It's a strange one, I don't know why it's happening. I'll try to investigate later. There are only two 'revision' methods one in the inner 'GitProxy' class and a private method in the 'Git' class. They really shouldn't interfere with one another. Also the only time I've seen the warning is when I run the bundler specs.

Can you please make a gist of the test file?

Also I used ruby 1.9.3 so it's not a 1.8.7 thing.

Nice, thanks!


rohit commented Dec 1, 2012

This commit should fix this: 3e583bd

@rohit rohit closed this Dec 1, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment