DevCEDTeam / CED

0 stars 0 forks source link

Description #67

Open DevCEDTeam opened 12 months ago

DevCEDTeam commented 12 months ago

Installation of Ruby on cPanel interface.

DevCEDTeam commented 12 months ago
  1. Verify Ruby Installation: Run the following command to check if Ruby is installed correctly:

    ruby -v

    If Ruby is not installed or the version is not displayed, you will need to install Ruby before proceeding.

  2. Install RubyGems: RubyGems is the package manager for Ruby. To install it, run the following command:

    yum install rubygems
  3. Add RubyGems to PATH: Add RubyGems to your system's PATH environment variable. Edit the /etc/profile file and add the following line at the end:

    export PATH="$PATH:/usr/local/bin"

    Save the file and run the following command to apply the changes:

    source /etc/profile
  4. Verify Gem Installation: Run the following command to verify that the gem command is now available:

    gem -v

    You should see the version number of RubyGems displayed.

  5. Install Sinatra: Now you can install Sinatra by running the following command:

    gem install sinatra

    This will install the Sinatra gem and its dependencies.

After following these steps, you should be able to successfully install Sinatra using the gem command. Let me know if you encounter any further issues.

DevCEDTeam commented 12 months ago

//