Changed gem_paths to work with a gem pointing to repository git in Gemfile.apk

Fix based on this thread: https://groups.google.com/forum/#!topic/ruboto/tNTsxx6Ru1M

I've tested with this Gemfile https://gist.github.com/scalone/6176472, requiring gens.