Ruby LSAPI Administration
Setting up Ruby applications is as easy as plugging the application's information into a Ruby context. Below is a brief description of the steps for setting up a Ruby application: (More detailed guides can be found in our wiki.)
- Add a virtual host and a Rack/Rails context: The easiest way to do this is to add a member virtual host to the EasyRailsWithSuEXEC virtual host template. (Go to the Virtual Host Templates tab, in the WebAdmin console under Configuration.) Virtual hosts using this template already have a Rack/Rails context with the Ruby application's URI set to "/".
- Graceful restart to apply changes: (WebAdmin console > Actions > Graceful Restart) Scripts with the suffix you defined in the script handler will now use the external application you created.