
Image Source: www.anylinuxwork.com
Here are some few command line options in which can guide you in programming your Ruby on Rails:
-0[octal}
The number “0” flag specifies the record separator character (\0, if no digit follows). -00 indicates paragraph mode: records are separated by two successive default record separator characters. -0777 reads the entire file at once (as it is an illegal character). Sets $/.
-a
‘Auto split mode when used with -n or -p; equivalent to executing {$F at the top of each loop iteration.
-C directory
Changes working directory to directory before executing.
-c
Checks syntax only; does not execute the program.
–copyright
Prints the copyright notice and exits.
-d, –debug
Sets $DEBUG to true. This can be used by your programs to enable additional tracing.
-e ‘command’
Executes command as one line of Ruby source. Several -e’s are allowed, and the commands are treated as multiple lines in the same program. If programfile is omitted when -e is present, execution stops after the -e commands have been run.