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

Duplicate entry for gem should just be a warning instead? #72

Open
vipulnsward opened this issue May 22, 2019 · 1 comment
Open

Duplicate entry for gem should just be a warning instead? #72

vipulnsward opened this issue May 22, 2019 · 1 comment

Comments

@vipulnsward
Copy link

ERROR: Failed to evaluate ".../Gemfile": Duplicate entry for gem "pry-rails"

This is what I have in Gemfile:

gem "pry-rails", require: "pry-rails/console", group: [:production]

group :development, :test do
  gem "pry-rails"
...

@matthewd
Copy link
Member

matthewd commented Jun 1, 2019

Seems pretty reasonable... do you know what Bundler does with the options there? Does it merge them, or just pick one? (i.e., does that activate the gem for all three groups? Do they all see the require option, or only production?)

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

2 participants