提交 2390eb20 编写于 作者: C Chris Wanstrath

gemcutter

上级 519c9c01
......@@ -44,6 +44,14 @@ Assuming `~/bin/` is in your path, you're ready to roll:
git version 1.6.4.2
hub version 0.1.0
### Rubygems
Though not recommended, `hub` can also be installed as a Rubygem:
$ gem install git-hub -s http://gemcutter.org/
(Yes, the gem name is `git-hub`.)
### Source
You can also install from source:
......
......@@ -32,7 +32,7 @@ begin
$LOAD_PATH.unshift 'lib'
require 'hub'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "hub"
gemspec.name = "git-hub"
gemspec.summary = gemspec.description = "hub introduces git to GitHub"
gemspec.homepage = "http://github.com/defunkt/hub"
gemspec.version = Hub::Version
......@@ -70,7 +70,7 @@ task :publish => [ :test, :gemspec, :build ] do
system "git tag v#{Hub::Version}"
system "git push origin v#{Hub::Version}"
system "git push origin master"
# system "gem push pkg/hub-#{Hub::Version}.gem"
system "gem push pkg/git-hub-#{Hub::Version}.gem"
system "git clean -fd"
exec "rake pages"
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册