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

rspec BUNDLE_GEM__TEST setting doesn't add rspec to Gemfile #3410

Closed
olivierlacan opened this issue Feb 16, 2015 · 2 comments · Fixed by #3499
Closed

rspec BUNDLE_GEM__TEST setting doesn't add rspec to Gemfile #3410

olivierlacan opened this issue Feb 16, 2015 · 2 comments · Fixed by #3499

Comments

@olivierlacan
Copy link
Contributor

Causes this error:

bundler-1.8.2/lib/bundler/rubygems_integration.rb:261:in `block in replace_gem': rspec-core is not part of the bundle. Add it to Gemfile. (Gem::LoadError)

Wouldn't it make sense to add rspec to the Gemfile when BUNDLE_GEM__TEST is set to rspec and the new gem is generated with spec directory?

@olivierlacan
Copy link
Contributor Author

Or actually, to the gemspec.

@indirect
Copy link
Member

Whoops. Yeah, I think that's a bug. Thanks!

On Mon, Feb 16, 2015 at 2:58 PM, Olivier Lacan notifications@github.com
wrote:

Or actually, to the gemspec.

Reply to this email directly or view it on GitHub:
#3410 (comment)

marocchino added a commit to marocchino/bundler that referenced this issue Mar 22, 2015
segiddins pushed a commit to segiddins/bundler that referenced this issue Mar 31, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants