提交 c4da418c 编写于 作者: C Chris Wanstrath

rubygems hack

上级 c67a9c41
......@@ -286,6 +286,8 @@ class Hub
end
end
if $0 == __FILE__
# Hack for Rubygems.
# But really, you don't want to run hub under Rubygems.
if $0.split('/').last == __FILE__.split('/').last
Hub.new(*ARGV).execute
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册