2 ms·
It's easy enough to set up a backup repo so a team can keep collaborating when Github is down, but does anyone have a way to deploy Rails apps with Capistrano+b
by pjungwir 14y ago
It's easy enough to set up a backup repo so a team can keep collaborating when Github is down, but does anyone have a way to deploy Rails apps with Capistrano+bundler? It's terrible not being able to deploy; sometimes that can be really urgent.
With Cap I can just repoint config/deploy.rb to the backup git repo, but what about bundler?
- pjungwir 14y agoTo answer my own question: http://stackoverflow.com/questions/8693319/where-can-i-install-gems-from-when-rubygems-org-is-down Of course if you have private patches of gems with bundler's `:git` option, you'd need to repoint all of those, too (as well as keep them in two places). It'd be awesome if there was some simpler way, maybe a separate declaration in your Gemfile so that any gems added to your project also get installed on a corporate git server, and then bundler uses that as a fallback if `source` doesn't work.