Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?



To 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: