gpt4 book ai didi

ruby - 无法推送 gem : Home does not appear to be a valid URL

转载 作者:数据小太阳 更新时间:2023-10-29 07:59:16 25 4
gpt4 key购买 nike

我刚刚完成构建,尝试推送 gem 我收到以下错误:保存您的 gem 时出现问题:

Home does not appear to be a valid URL.

这是我的 gem 规范:

# 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

最佳答案

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

s.homepage     = 'https://github.com/mdeering/attribute_normalizer'

关于ruby - 无法推送 gem : Home does not appear to be a valid URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32157172/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com