在推送gem时没有反映在rubygems.org页面上的版本

时间:2014-02-20 09:35:32

标签: ruby rubygems

到目前为止,我已推送了5个版本的gem,但gem版本并没有反映在rubygems.org页面上。可能是什么原因?任何帮助将不胜感激!!

我的gemspec文件如下所示:

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'dirname/version'

Gem::Specification.new do |spec|
  spec.name          = "gemname"
  spec.version       = modulename::VERSION
  spec.authors       = ["Author name"]
  spec.email         = ["author@gmail.com"]
  spec.homepage      = "https://github.com/author/gemname"
  spec.summary       = "summary"
  spec.description   = "description"   
  spec.license       = "MIT"
  spec.files         = `git ls-files`.split($/)
  spec.require_paths = ["lib"]

  spec.add_dependency "rails", "> 3", "< 5" 
  spec.add_development_dependency "bundler", "~> 1.3"
  spec.add_development_dependency "rake"
end

0 个答案:

没有答案