-
Notifications
You must be signed in to change notification settings - Fork 83
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 check
always fails (and why do we even need this extra step?)
#95
Comments
Can you try running the command via SSH? For example, I see:
The documentation says:
In other words, if Are you seeing a situation where |
My dependencies didn't change so it makes sense now. I was under the impression bundle would run on all deploys, regardless of wether the Gemfile has changed or not. So this is not a bug, just my bad. But It would be nice to print All gems are statified intsead of nothing, I think. Closing this. |
Why not |
|
So |
Good question.
I just verified this in a production environment that was deployed with capistrano-bundler.
The
So it seems to work as intended. |
Of course, this probably only works if you are symlinking I am also skeptical that I'll reopen this issue since it seems there is more to discuss here. I'm interested in any further thoughts or suggestions you have on this topic. |
bundle check
always fails (and why do we even need this extra step?)
For me, In this particular deployment the |
@mattbrictson Hello! I do execute :bundle, :config, "--local without development:test"
execute :bundle, :config, "--local path /my/shared/gems/path" before attempt to So, I think it is slightly more convenient than symlink of What do you think about this approach? I have made a PR for that: #97 |
Wrong 🙃 It will load metadata from rubygems and our private gem host (based on geminabox) for about 22 seconds 😢 |
That was a bad fix so I closed it. |
I faced the same issue and after lots and lots of problems I was able to arrive at the same conclusion. Also I was trying to use per-release binstub. The problem is that I have no way of excluding the bundle check. If there are no changes to the gems, I will not be able to create a per-release binstub. Maybe this can be a reason to either exclude or give an option for bundle check? |
@GeminPatel I'd consider a |
I've also hit the binstub issue. When it generates the binstubs it uses the directory for the pending release as the fallback directory for the Gemfile. It took me a bit to figure out what was going on after a hard-restart of puma that resulted in it failing to start. @mattbrictson if your recommendation hasn't been addressed I would be happy to open a PR. |
I get this issue when upgrading ruby on my production and staging servers. |
@map7 Is it because |
You could be right here. We use rbenv on our servers to help manage our |
What does this check in bundler.cap (like 31) do
This is always returns false for me and therefore bundler:install gets skipped.
The text was updated successfully, but these errors were encountered: