When attempting to follow examples from Engineering Long-Lasting Software (Fox and Patterson) the command:
rails generate model Moviegoer name:string provider:string uid:string
run from ~/Documents/application_root (a project home directory generated by course staff) results in a
rails generate model Moviegoer name:string provider:string uid:string:command not found
message being displayed; why might such a message be returned and what can be done to make the command execute successfully?
So… I tried again and only changed the input by copying/pasting a space character from the portion of the command which was working (‘rails model generate’ became ‘rails model generate Moviegoer’ with the last space being reused) and the command worked. Since the original commands from which this command was derived were typed into a terminal from one input source the mystery of how the console could have seen two different space characters remains…