carlhuda/bundler — Issue #1619: Attempt to use Bundler 1.1.rc.7 with 1.8.6 result in error
Author: luislavena
Created: 2012-01-09 18:41:31+00:00
State: open

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!