page 274, in Packaging Your RubyGem, paragraph 2, command $ gem build
Missing README.md in code/gems/aaagmnr :
% gem build aaagmnr.gemspec
WARNING: See https://guides.rubygems.org/specification-reference/ for help
ERROR: While executing gem ... (Gem::InvalidSpecificationException)
["README.md"] are not files
As I had executed bundle gem aaagmnr
on page 266 in another directory, I was able to copy README.md
into code/gems/aaagmnr
, and could sucessfully build the gem :
% gem build aaagmnr.gemspec
Successfully built RubyGem
Name: aaagmnr
Version: 0.1.0
File: aaagmnr-0.1.0.gem
The code from the pragprog book site comes without README.md
.