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

bundle config gemfile is not working. #1315

Closed
wizztjh opened this Issue Jul 21, 2011 · 4 comments

Comments

Projects
None yet
4 participants
@wizztjh

wizztjh commented Jul 21, 2011

I try to bundle config gemfile Gemfile.sj and bundle config gemfile mypathtoit/Gemfile.sj

but it is not working ...

~/.bundle/config


BUNDLE_GEMFILE: Gemfile.sj

@indirect

This comment has been minimized.

Show comment
Hide comment
@indirect

indirect Aug 17, 2011

Member

Unfortunately, by the time Bundler loads the config file, it is too late. You need to set the Gemfile using BUNDLE_GEMFILE=Gemfile.sj bundle install, or using bundle install --gemfile Gemfile.sj.

Member

indirect commented Aug 17, 2011

Unfortunately, by the time Bundler loads the config file, it is too late. You need to set the Gemfile using BUNDLE_GEMFILE=Gemfile.sj bundle install, or using bundle install --gemfile Gemfile.sj.

@praecipula

This comment has been minimized.

Show comment
Hide comment
@praecipula

praecipula Nov 12, 2013

I see that this issue is closed, but I think that it's worth taking a second look: either Bundler should not deceive users by including the gemfile key in the documentation, which would be fine but suboptimal, or it should read the config file before finding the Gemfile, which I believe is the better solution. Is there a reason that this is essentially "wontfix" in that neither of these options are worth implementing?

praecipula commented Nov 12, 2013

I see that this issue is closed, but I think that it's worth taking a second look: either Bundler should not deceive users by including the gemfile key in the documentation, which would be fine but suboptimal, or it should read the config file before finding the Gemfile, which I believe is the better solution. Is there a reason that this is essentially "wontfix" in that neither of these options are worth implementing?

@indirect

This comment has been minimized.

Show comment
Hide comment
@indirect

indirect Nov 13, 2013

Member

@praecipula feel free to submit a pull request to correct the documentation. While we would also accept a pull request to honor the config setting, the location of the config file is based on the location of the Gemfile, so that's not possible.

Member

indirect commented Nov 13, 2013

@praecipula feel free to submit a pull request to correct the documentation. While we would also accept a pull request to honor the config setting, the location of the config file is based on the location of the Gemfile, so that's not possible.

urbanautomaton pushed a commit to urbanautomaton/bundler that referenced this issue Mar 4, 2014

Simon Coffey
Correct bundle-config manpage
It is not possible to set BUNDLE_GEMFILE using bundle-config, so don't
tell users that it is. [bundler#1315]

urbanautomaton pushed a commit to urbanautomaton/bundler that referenced this issue Mar 4, 2014

Simon Coffey
Correct bundle-config manpage
It is not possible to set BUNDLE_GEMFILE using bundle-config, so don't
tell users that it is. [bundler#1315]

urbanautomaton pushed a commit to urbanautomaton/bundler that referenced this issue Mar 4, 2014

Simon Coffey
Correct bundle-config manpage
It is not possible to set BUNDLE_GEMFILE using bundle-config, so don't
tell users that it is. [bundler#1315]
@dholdren

This comment has been minimized.

Show comment
Hide comment
@dholdren

dholdren Dec 23, 2014

Contributor

@wizztjh @praecipula FYI, I have a pull request to add this feature: #3320

Contributor

dholdren commented Dec 23, 2014

@wizztjh @praecipula FYI, I have a pull request to add this feature: #3320

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