Answers for "how to create a ruby file in terminal"

1

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 create a ruby file in terminal"

Browse Popular Code Answers by Language