ruby Command Examples

Ruby programming language interpreter. See also: gem, bundler, rake, irb. More information: https://www.ruby-lang.org.

ruby {{script.rb}}

ruby -e {{command}}

ruby -c {{script.rb}}

ruby -run -e httpd

ruby -I {{path/to/library_folder}} -r {{library_require_name}} {{path/to/bin_folder/bin_name}}

ruby -v