-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Bundler keep asking to checkout git repo #3242
Comments
please see ISSUES at https://github.com/bundler/bundler/blob/master/ISSUES.md. On Fri, Nov 7, 2014 at 4:40 AM, Bráulio Bhavamitra
|
I'm having what appears to be the same issue, but I want to clarify the above (@brauliobo can comment whether it accurately captures the problem or is something else). I have an app with a gem specifying a git: location.
This is not covered in the issues. If you add branch 'master', this error goes away (presumably because git rev-parse has the correct information instead of incomplete info?):
|
@coldnebo Very interesting, gonna try this. |
@coldnebo @brauliobo I can't reproduce this issue. Please provide all of the information requested in ISSUES if you would like us to investigate further. Thanks! |
@brauliobo there are details about what information we need at https://github.com/bundler/bundler/blob/master/ISSUES.md#reporting-unresolved-problems |
@brauliobo I tried to reproduce the issue in the linked repository (https://github.com/CIRANDAS/noosfero-ecosol) and now I'm even more confused. https://github.com/CIRANDAS/noosfero-ecosol/blob/master/plugins/oauth/Gemfile ← this is not a valid Gemfile. There's not top-level gem source so it can't be installed at all. |
@TimMoore you might close to the problem: https://github.com/CIRANDAS/noosfero-ecosol/blob/master/plugins/oauth/Gemfile is loaded by another Gemfile: https://github.com/CIRANDAS/noosfero-ecosol/blob/master/Gemfile#L84 is that a problem? |
OK I see how this project works now, but I still can't reproduce the problem. If you want us to look at this any further, please give us the information we have requested multiple times. After symlinking that plugin into place and running the initial
|
@brauliobo
I guess this is a Linux-only thing? You haven't given us all of the information we ask for in https://github.com/bundler/bundler/blob/master/ISSUES.md#reporting-unresolved-problems so it's very hard for anyone to help you. |
@TimMoore finally I could reproduce this.
Then run The problem is that without the |
The problem is quite frequent for me as I frequently change branchs and enable/disable noosfero's plugins (which changes the |
@brauliobo I'm a little confused about your reproduction steps. Why do you If you frequently change branches and enable or disable plugins, then you should run |
@TimMoore for gems not loaded via git, the Gemfile.lock is not necessary, it run the app with the latest versions available of the gems. The same behaviour should be valid for gems installed via git, IMO. |
Good point. Looks like |
Okay, so after trying this myself, this is the current expected behaviour. Git repositories may have been updated, and with no Gemfile.lock, While it could be possible to If you'd like us to add this feature to Bundler in the future, could you open a feature request at the bundler/bundler-features issue tracker? Thanks! |
this also makes the performance of inline gemfiles (with |
Bundler keep asking to checkout git repo, even after I ran it before several times. It keeps asking over and over again.
Version is 1.7.4
The text was updated successfully, but these errors were encountered: