summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
author☈king <rking@sharpsaw.org>2012-09-27 00:33:27 -0500
committerAndre Arko <andre@arko.net>2012-10-01 12:34:55 -0700
commit7c8c58e0a59123177a086d66d65d9e9f2bf50105 (patch)
tree61cf4b9f06d2738245267e038a63b3a6f4328af1 /lib
parent8fca868f2fbc585863222cdd9aa8cd894f318224 (diff)
downloadbundler-7c8c58e0a59123177a086d66d65d9e9f2bf50105.tar.gz
Better meaning for slashless :github arg.
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/dsl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb
index 6924b7a849..0ac7036340 100644
--- a/lib/bundler/dsl.rb
+++ b/lib/bundler/dsl.rb
@@ -231,7 +231,7 @@ module Bundler
end
if github = opts.delete("github")
- github = "#{github}/#{github}" unless github.include?("/")
+ github = "#{github}/#{name}" unless github.include?("/")
opts["git"] = "git://github.com/#{github}.git"
end