Gem::Specification.new do |spec|
spec.name = "nba_schedule"
spec.version = NBA_Schedule::VERSION
spec.authors = ["TylerP33"]
spec.email = ["tyler3321@gmail.com"]
spec.summary = %q{TODO: Write a short summary, because RubyGems
requires one.}
spec.description = %q{TODO: Write a longer description or delete this
line.}
spec.homepage = "TODO: Put your gem's website or public repo URL
here."
spec.license = "MIT"
所以在上面的.gemspec文件夹中,我已将我的spec.version从NbaSchedule::VERSION
更改为NBA_Schedule::Version
,这就是您在下面看到的内容(这太难看了)。
因为在创建gem时使用了NbaSchedule
(使用命令来存根所有必需的gem文件,我需要从头开始),这给我带来了很多改变它的悲痛我无法弄清楚为什么。我已根据需要更改了所有依赖项。
我在这里错过了什么吗?
/home/TylerP/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/bundler-
1.16.0/lib/bundler/rubygems_integration.rb:65:in `rescue in validate': The
gemspec at /mnt/c/Users/tyler/Desktop/nba_schedule/nba_schedule.gemspec is
not valid. Please fix this gemspec. (Gem::InvalidSpecificationException)
The validation error was '"FIXME" or "TODO" is not a description'
我的错误在上面。
我对编码很新,期间。所以我理解我可能会遗漏一些明显的东西,但我很想知道为什么它会破碎,如果一切都有凝聚力并且改变了。