Rails

From Kingside Wiki

Run System Commands From Ruby

Ruby Guides

system
system(“ls”)
system will print the command output as it happens

Note system will make your Ruby program wait until the command is done

Start Rails from Passenger

Stack Overflow

Official Phusion Passenger Website (v6 as of 3/2/23)