首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法推送gem : Home似乎不是有效的URL

无法推送gem : Home似乎不是有效的URL
EN

Stack Overflow用户
提问于 2015-08-22 14:23:29
回答 1查看 374关注 0票数 3

我刚刚完成构建,试图推动创业板,我得到以下错误:有一个问题,保存您的宝石:

Home似乎不是有效的URL。

这是我的宝石规格:

代码语言:javascript
运行
复制
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'upkeeper/version'

Gem::Specification.new do |spec|
  spec.name          = "upkeeper"
  spec.version       = Upkeeper::VERSION
  spec.authors       = ["andela-obogbare"]
  spec.email         = ["alexonozor@gmail.com"]

  spec.summary       = %q{File upload gem}
  spec.description   = %q{This is a file uploader gem that will be tied to you model and upload a file for you}
  spec.homepage      = ""
  spec.license       = "MIT"



  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.10"
  spec.add_development_dependency "rake", "~> 10.0"
end
EN

回答 1

Stack Overflow用户

发布于 2015-08-22 15:43:24

我不确定这个错误,但是设置主页到github页面url有什么问题呢?这就是我通常在宝石中看到的:

代码语言:javascript
运行
复制
s.homepage     = 'https://github.com/mdeering/attribute_normalizer'
票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32157172

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档