puma/puma — pull request #560 by raskhadafi (2014-07-23 15:59:15+00:00)
Title: First change the directory to use the correct Gemfile.

I set the prune_bundler option for a graceful restart and during the deployment with capistrano I found out that puma used allways the Gemfile from the previous release.
After a day of trying to fix it with several different deployments and options.
I found out that puma does the prune_bundler option before changing the directory.
So the old Gemfile is used which seams wrong to me.

Can anyone look at my fix and help me with that?
Thanks in advance.