setupruby
Setup Multiple Ruby
This tool will help you to setupset up and manage multiple Ruby distributions on your server.
Please set upsetup Passenger before using this tool
Eenos buildbuilds and maintainmaintains multiple versions of Ruby to provide new features to end users.
Command:
/usr/local/eenos/scripts/setupruby
Command Options:
Usage: /usr/local/eenos/scripts/setupruby <option> [value]
Command Groups:
Options:
-s, --search , search : Show available Ruby versions for installations
-l, --list , list : Show installed Ruby versions
-i <ruby> , --install <ruby> : To install an eenos Ruby version
-r <ruby> , --remove <ruby> : To remove Ruby from server
-d <ruby> , --default <ruby> : Set the default Ruby on server
Search Available Ruby For Installation
To search available Ruby for installation use the following command,
/usr/local/eenos/scripts/setupruby -s
eenos-ruby26 - Ruby programming language
eenos-ruby27 - Ruby programming language
eenos-ruby30 - Ruby programming language
eenos-ruby31 - Ruby programming language
Install a Ruby Version
To install a Ruby Version use the following command,
/usr/local/eenos/scripts/setupruby -i <ruby>
Example :Example: For installing ruby 3.1 version ( here, eenos-ruby31 )
/usr/local/eenos/scripts/setupruby -i eenos-ruby31
Setup Default Ruby
To setup a default Ruby version on your eenos control panel, use the following command ( here, version eenos-ruby31 )
/usr/local/eenos/scripts/setupruby -d eenos-ruby31
List Installed Ruby
To show all installed Ruby versions in your server use the following command
/usr/local/eenos/scripts/setupruby -l
Package Group Ruby Version Gem Version Rails Version
.....................................................................
eenos-ruby27 ruby27 2.7.7 3.1.6 7.0.4
eenos-ruby30 ruby30 3.0.5 3.2.33 7.0.4
eenos-ruby31 ruby31 3.1.3 3.3.26 7.0.4
.....................................................................
Default Ruby : eenos-ruby30
Remove a Ruby Version
To remove a ruby version from your server use the following command, ( here, eenos-ruby31 )
/usr/local/eenos/scripts/setupruby -r eenos-ruby31
Eenos users can mangemanage Ruby on Rails or Ruby apps and gem modules from the UAPP control panel.
Eenos is the first hosting control panel to provide a user friendly Ruby on Rails app hosting in traditional control panels.