我正在尝试构建一个 cli ruby gem。一切准备就绪,只需要发布即可。
首先我试过这个,
Enter your RubyGems.org credentials.
Don't have an account yet? Create one at https://rubygems.org/sign_up
Email: hima.chhag@gmail.com
Password:
Signed in.
ERROR: While executing gem ... (Gem::Package::FormatError)
No such file or directory @ rb_sysopen - popular_deals-0.1.0.gem
并得到了一个错误,所以在做了一些研究之后我知道我需要先制作gem,
这也是..
gem build popular_deals-0.1.0.gem
ERROR: Gemspec file not found: popular_deals-0.1.0.gem
[19:14:21] (master) popular-deals-from-slickdeals.net-cli
但是,仍然出现错误,我错过了什么吗?我应该怎么做才能解决“错误:找不到 Gemspec 文件:popular_deals-0.1.0.gem”错误?我确实有“popular_deals.gemspec”
非常感谢你的帮助!