Enable Ruby for your Web Site
To enable Ruby for your web site, go to Websites & Domains >
Ruby and click Enable Ruby.
The Ruby interpreter of the selected version will be enabled for your
web site, and the version number will be displayed at the Websites &
Domains page near the Ruby icon.
Deploy a Ruby Application
Upload your application’s files (for example, using the File
Manager) as follows:
- Create a subdirectory named
/<application name>/public
in the
website home directory, where<application name>
is the name of
your Ruby application. - Upload the application files (including the
config.ru
file) into
the/<application name>
directory. - Go to Websites & Domains, click Hosting Settings and set the
Document root value to/<application name>/public
.
Then, go to Websites & Domains > Ruby. If Ruby is enabled, Plesk
will detect your application, and the Ruby page will display the
information about it:
The following information is displayed:
-
Ruby Version. This is the version…