Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't ignore Bundler groups #35

Closed
afeld opened this issue Aug 21, 2012 · 3 comments
Closed

Don't ignore Bundler groups #35

afeld opened this issue Aug 21, 2012 · 3 comments
Assignees

Comments

@afeld
Copy link

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:

https://github.com/afeld/mongoid-locker/compare/appraisal

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
Copy link
Author

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.

@ghost ghost assigned sikachu Dec 7, 2012
@marten
Copy link

marten commented Jan 13, 2013

This is biting me too.

@sikachu
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants