Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

bundler prune should be automatically detect #96

Merged
merged 1 commit into from
Mar 20, 2015

Conversation

crhan
Copy link
Collaborator

@crhan crhan commented Mar 4, 2015

New behavier of puma_prune_bundler make my deployment crash again

In the case puma preload_app! is incompatible with puma_prune_bundler https://github.com/puma/puma/blob/master/examples/config.rb#L132

and puma will crash because of bundle context not switch between each capistrano deployment (even with the puma:restart, which is using by default with preload_app)

/opt/ruby21/share/gems/gems/bundler-1.8.3/lib/bundler/definition.rb:22:in `build': /path/to/Gemfile/with/deleted/capistrano/deleted/path/20150303095846/Gemfile not found (Bundler::GemfileNotFound)

So here is my point

To make sure bundler is automatically switched between each deploy and do the right thing for preload_app or not.

@behe any idea?

@crhan
Copy link
Collaborator Author

crhan commented Mar 12, 2015

hey guys, any idea? @behe @seuros

@seuros
Copy link
Owner

seuros commented Mar 12, 2015

cc @evanphx

seuros added a commit that referenced this pull request Mar 20, 2015
bundler prune should be automatically detect
@seuros seuros merged commit bbcd7a9 into seuros:master Mar 20, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants