I saw in #29 / #31 that support was added for Bundler groups with multiple names, but I'm not understanding why the groups are being ignored in the first place. I'm using Jeweler for mongoid-locker, and those development/test groups are needed for the tests, but they aren't being included in the generated Gemfiles. Am I missing something?
I added Appraisal in it's own branch:
and get the following error:
$ bundle exec rake appraisal spec
>> BUNDLE_GEMFILE=/Users/aidan/dev/mongoid-locker/gemfiles/mongoid2.gemfile bundle exec /Users/aidan/.rvm/gems/ruby-1.9.3-p0/bin/rake spec
/Users/aidan/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/rubygems_integration.rb:147:in `block in replace_gem': rake is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
from /Users/aidan/.rvm/gems/ruby-1.9.3-p0/bin/rake:18:in `<main>'
I should be more specific: I mean on the rake appraisal:install. Added the gems manually with a86f0b50 and Appraisal is now able to run.
This is biting me too.
(noticed the issue was originally created 8 months ago ..)
I just pushed a commit that should allow you to have group in your Gemfile. Please test the master version and let me know if it works for you. I'll be shipping 0.6 soon when I have full Gemfile support.