sanboxruby
SanBox Ruby and Ruby on Rails Apps
Install and manage per site-based ruby apps and gems. This tool provides a virtual multi-ruby and gem manager for a website.
The SanBox Ruby applications can be managed by the UAPP control panel in a Multi Ruby server.
You may need to set up Muti Ruby to enable this feature.
Eenos is the first control panel that provides SanBox Ruby applications with an easy user-friendly deployment interface for hosting users.
This command line tool is a server administrator tool.
Command:
/usr/local/eenos/scripts/sanboxruby
Command Options:
Usage: /usr/local/eenos/scripts/sanboxruby <option> [value]
Command Groups:
Options:
-i <domain> <ruby version> : To install a specific ruby sanbox for a domain
-id <domain> <ruby version> : Install ruby sandbox and setup demo rails app
-ri <domain> : Re install Ruby sandbox on domain
-r <domain> : To remove the ruby sandbox of a domain
-gs <domain> <action> <gems> : To install,update or uninstall Ruby gems on domain
Install SanBox Ruby On Domain
To setup a virtual ruby environment on a domain, run the following command
/usr/local/eenos/scripts/sanboxruby -i <domain> <ruby version>
Example: To setup the Ruby 3.1 Sanbox environment on a domain foo.com use the following command
/usr/local/eenos/scripts/sanboxruby -i foo.com eenos-ruby31
To find all ruby versions, you may use the Setupruby Tools.
Remove SanBox Ruby From a Domain
To uninstall the ruby environment from a server, use the following command
/usr/local/eenos/scripts/sanboxruby -r <domain>
where <domain> is the website name.
Manage Ruby Gems
To install, update, or uninstall Ruby gem modules, use the following command,
/usr/local/eenos/scripts/sanboxruby -gs <domain> <action> <gems>
where <domain> is the website name
<action> is install, update, or uninstall,
<gems> is the command-separated list of gem module names
Eenos users can manage the gem modules from the UAPP Control panel interface.