Note though, that this only works when you're already using git for your dependency
I was trying to figure out why it wasn't working for me. This was probably the reason.
So if you just have gem 'rack', it just silently has no effect.
It seems like it should just work either way. Or at least give a warning/error if you try to use this config and it's not going to use that config!