small medium large xlarge

Errata for Build Awesome Command-Line Applications in Ruby 2


The latest version of the book is P1.0, released almost 2 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (10-Apr-15)
PDF page: 5
These lines are missing the concatenation of underscore into the filename string. backup_file = database +"%Y%m%d") backup_file...more...
  • Reported in: P1.0 (13-Sep-14)
PDF page: 20

opts.on("- i","–iteration") => opts.on("- i","–-iteration") --Ignazioc

  • Reported in: P1.0 (13-Sep-14)
PDF page: 26
running the command "bundle exec bin/todo new" produce an error if all the gems are not installed. The error is: "Could not find gem 'aruba (>= 0) r...more...
  • Reported in: P1.0 (13-Sep-14)
PDF page: 29
"bin/todo -f ~/todo.txt new -f "A new task" "Another task" the right command is "bundle exec bin/todo -f ~/todo.txt new -f "A new task" "Another tas...more...
  • Reported in: P1.0 (07-Feb-14)
PDF page: 42
The code on the page sets the default_value of the todo command's filename flag to "~/.todo.txt". This causes trouble later, because Ruby's ...more...
  • Reported in: P1.0 (10-Dec-13)
PDF page: 118
Chapter 8 Section8.1 Paragraph 2: Rather than solve this problem at the same we learn about the mechanics of testing, let’s take things one step at ...more...
  • Reported in: P1.0 (21-Feb-14)
PDF page: 126
On this page we're adding code to Cucumber's env.rb, to modify ENV['HOME'] so a test won't touch the user's real todo list. Paragraph three begins, "A...more...
David Copeland says: This is not my experience. Running the tests with nothing in /tmp and everything works fine. Can you post to the forum what you are seeing specifically?
  • Reported in: P1.0 (29-Dec-13)
PDF page: 168

Rainbow gem notice: Sickill::Rainbow.enabled= is deprecated, use Rainbow.enabled= instead.--Francisco Laguna