![]() bd7lx 58.189% disconnected | 登录后回复主题 | 跳到回复(6)
|
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).
* 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).
回到顶部 | Plugins | 返回 ChinaonRails 首页 | 注册 | 找回密码














