Rails: Difference between revisions

From Kingside Wiki

Line 9: Line 9:
== Start Rails from Passenger ==
== Start Rails from Passenger ==
[https://stackoverflow.com/questions/16932833/start-rails-server-automatically-after-reboot| Stack Overflow]
[https://stackoverflow.com/questions/16932833/start-rails-server-automatically-after-reboot| Stack Overflow]
Official Phusion Passenger [https://www.phusionpassenger.com/ Website] (v6 as of 3/2/23)

Revision as of 17:35, 2 March 2023

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)