Specs and a possible fix for gemfile git entries

See issue jruby/warbler#165.