fix to make it work with bundler <= 1.7.3

See https://github.com/bundler/bundler/blob/1-7-stable/lib/bundler/cli/gem.rb#L22