Nexus Weblogging
ChinaonRails
You are here ChinaonRails > Ruby on Rails > > GitHub 成了Gem Server

bd7lx


58.189%

disconnected
登录后回复主题 | 跳到回复(6)

GitHub 成了Gem Server

... by bd7lx ... 7 月 9 天前 ... 325 次点击

http://gems.github.com/



$ gem sources -a http://gems.github.com/ (you only need to do this once)
$ [sudo] gem install username-projectname

1 - 6-3 11:17
bd7lx 楼主 深圳
Troubleshooting

* If your gem isn't showing up, double-check that your 'RubyGem' checkbox
is checked on your repo, it's really easy to forget this step.
* Verify your gemspec works prior to pushing by running the following:

$ gem build project_name.gemspec

* Once you've pushed your gemspec to GitHub, it may take a few minutes for your
new gem to find its way into our index.
* We'll build a new version of the gem or rebuild an existing version of the gem based
upon the version you set in your gemspec.
* Gems will only be built when the gemspec is modified on the master branch.
* If your gem builds fine locally, but doesn't on GitHub, it's most likely a $SAFE problem.
Run the following script to simulate our environment:

require 'rubygems/specification'
data = File.read('your-project.gemspec')
spec = nil
Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
puts spec


* If you're currently using Hoe to manage your gems, you can run 'rake debug_gem' to
generate the gemspec.
* Report any bugs or feature requests to Lighthouse (include your gemspec and please
remember to try and build the gem locally first).
2 - 6-16 15:49
bd7lx 楼主 深圳
http://osteele.com/archives/2008/05/my-git-workflow

里面的图示,介绍git的workflow过程

3 - 7-23 8:28
bd7lx 楼主 深圳
4 - 7-28 8:54
bd7lx 楼主 深圳
github 架设了新网站



http://git-scm.com/

旧貌

http://git.or.cz/
5 - 8-15 10:02
bd7lx 楼主 深圳
6 - 8-20 16:25
bd7lx 楼主 深圳
http://www.infoq.com/cn/news/2008/08/gems-from-rubyforge-and-github

企图正本清源

但不禁源头滚滚

想把长江和黄河接上
看完之后有话想说?那就帮楼主加盖一层吧!

在回复之前你需要先进行登录
电子邮件或昵称
密码
© 2007 A Jesse Cai Production   -   About   -   京ICP备07020911号
a site powered by Project Babel