diff --git a/pages/common/ruby.md b/pages/common/ruby.md index 721b1b9aae..c86717692d 100644 --- a/pages/common/ruby.md +++ b/pages/common/ruby.md @@ -6,15 +6,15 @@ - Execute a Ruby script: -`ruby {{script.rb}}` +`ruby {{path/to/script.rb}}` - Execute a single Ruby command in the command-line: -`ruby -e {{command}}` +`ruby -e "{{command}}"` - Check for syntax errors on a given Ruby script: -`ruby -c {{script.rb}}` +`ruby -c {{path/to/script.rb}}` - Start the built-in HTTP server on port 8080 in the current directory: @@ -24,6 +24,6 @@ `ruby -I {{path/to/library_folder}} -r {{library_require_name}} {{path/to/bin_folder/bin_name}}` -- Display Ruby version: +- Display version: -`ruby -v` +`ruby {{[-v|--version]}}`