This is a noob question. I’m going through your book and was getting an file and/or directory not found error when I used the todo default “~/.todo.txt for the -f flag. I was trying to open the file with mode ‘a+’
When I changed the default to ENV[‘HOME’] + “/.todo.txt, it opened ok.
I am using OSX 10.8 and ruby 1.93p194 and gli 1.6.0.
Is there a setting I haven’t made or have made that affects the use of ‘~’ to stand for the home directory. I can use ‘~/whatever’ from the command-line successfully