You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Ruby on Rails app can be hosted in Sentora running Phusion Passenger, the way to do it is not very intuitive but this is an attempt at explaining the method of doing it.
To do this, you will need:
SSH sudo Access to the server
Installing Phusion Passenger for Apache
Creating your app space.
We need to create a virtual host in Sentora
We need to create an .htaccess file if it is not already there.
PassengerEnabled On
PassengerLoadShellEnvVars On
PassengerAppRoot /var/sentora/hostdata/zadmin/public_html/'domain_name'/current
PassengerRuby /usr/local/rvm/wrappers/ruby-2.1.5/ruby