Answers for "how to run ruby in terminal"

0

how to run a ruby file in terminal

Just call: ruby your_program.rb

# or

start your program with #!/usr/bin/env ruby,
make your file executable by running 
	`chmod +x your_program.rb`
# and do 
  `./your_program.rb some_param`
Posted by: Guest on September-10-2021

Code answers related to "how to run ruby in terminal"

Browse Popular Code Answers by Language