我刚刚构建了一个CLI Data gem并将其发布到RubyGems.现在,如果我尝试进行捆绑安装,我会收到以下错误
``
You have one or more invalid gemspecs that need to be fixed.
The gemspec at
/home/himachhag-45739/code/popular-deals-from-slickdeals.net-`cli/popular_deals.gemspec`
is not valid. Please fix this gemspec.
The validation error was 'popular_deals-0.1.0 contains itself
(popular_deals-0.1.0.gem), check your files list'
Run Code Online (Sandbox Code Playgroud)
请参阅下面我的gmspec文件:
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'popular_deals/version'
Gem::Specification.new do |spec|
spec.name = "popular_deals"
spec.version = PopularDeals::VERSION
spec.authors = ["'Hima Chitalia'"]
spec.email = ["'hima_chhag@yahoo.com'"]
spec.summary = %q{It displays popular deals of the day from https://slickdeals.net/deals/.}
#spec.description …
Run Code Online (Sandbox Code Playgroud)