Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Attempt to use Bundler 1.1.rc.7 with 1.8.6 result in error #1619

Closed
luislavena opened this issue Jan 9, 2012 · 2 comments
Closed

Attempt to use Bundler 1.1.rc.7 with 1.8.6 result in error #1619

luislavena opened this issue Jan 9, 2012 · 2 comments

Comments

@luislavena
Copy link
Member

Hello,

Dunno if Bundler 1.1 is dropping 1.8.6 support, so reporting this now:

$ bundle check
/Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:273: warning: parenthesize argument(s) for future version
Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/resolver.rb:159:in `[]': odd number of arguments for Hash (ArgumentError)
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/resolver.rb:159:in `start'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/resolver.rb:128:in `resolve'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/resolver.rb:127:in `catch'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/resolver.rb:127:in `resolve'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/definition.rb:155:in `resolve'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/definition.rb:116:in `missing_specs'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/cli.rb:102:in `check'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/vendor/thor/task.rb:22:in `send'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/vendor/thor/task.rb:22:in `run'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/vendor/thor.rb:263:in `dispatch'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/lib/bundler/vendor/thor/base.rb:386:in `start'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/gems/bundler-1.1.rc.7/bin/bundle:13
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/bin/bundle:19:in `load'
    from /Users/luis/.rvm/gems/ruby-1.8.6-p420@global/bin/bundle:19

It seems the gemspec is not indicating required_ruby_version to be >= 1.8.7 which will avoid people installing the pre-releases on an incompatible version of Ruby.

Thank you!

@indirect
Copy link
Member

Thanks for reporting this! @hone, seems like we should make this explicit in 1.1 to me, what do you think?

@indirect
Copy link
Member

This is fixed by fd90347, which declares that Bundler requires 1.8.7 or newer.

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

2 participants