Re:"Major service outage"
by robryan on Tuesday January 08, 2013 @08:34PM
(#5029625)
Does Bundler allow for multiple gem sources to be specified (on a gem by gem basis)?
[ Parent
| on HN ]
I'm not 100% positive on the specifics, but I've never seen it used. I suspect its not possible.
(context: I make https://circleci.com - a continuous integration company for web apps, often Rails. We occasionally get support requests that allow/ask us to look at Gemfiles, so I've seen an above average number of Gemfiles. However, I more often see the stdout of the `bundle install` command, which shows GitHub being accessed).
Re:"Major service outage"
by skateinmars on Wednesday January 09, 2013 @04:01AM
(#5030781)
Yes, you can specify a git repo in your Gemfile (and optional tags/branches) :
gem "rails", :github => "rails/rails", :tag => 'v3.2.11'
You can also specify multiple gem sources (http://gembundler.com/v1.2/gemfile.html), but usually only rubygems.org is used unless you need a private geù repository.Yeah the question is, can you specify to grab rails from github with a fallback if it is not up? So the same system it seems to be using with multiple gem sources but on a gem by gem basis like you would do with a github repo.