Don't ignore Bundler groups #35

afeld opened this Issue Aug 21, 2012 · 3 comments


None yet
3 participants

afeld commented Aug 21, 2012

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>'

afeld commented Aug 21, 2012

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.

sikachu was assigned Dec 7, 2012

marten commented Jan 13, 2013

This is biting me too.


sikachu commented Apr 26, 2013

(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.

sikachu closed this Apr 26, 2013

afeld referenced this issue in mongoid/mongoid-locker Apr 26, 2013


try with new Appraisal version #13

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