. . .

Install RubyGems from Source

Published: May 15, 2011

On This Page

    If you want to install some previous version of RubyGem or for what ever reason, want to install RubyGem from source, perform following steps

    1. Login to your server using putty
    2. Go to RubyForge and copy the URL of RubyGem of your choice (e.g RubyGem-1.4.2)
    3. Download it to your server using the following command
      wget http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz
    4. Uncompress your RubyGem archive using the following command
      tar -xvf rubygems-1.4.2.tgz
    5. cd rubygems-1.4.2
    6. ruby setup.rb –no-format-executable

    Note that you need to run these commands as super/root user otherwise you'll get an error on step 6.

    Don't forget to share this post

      Let's Build Digital Excellence Together


      • Cost Efficient Solutions.
      • Minimal Timelines.
      • Effective Communication.
      • High Quality Standards.
      • Lifetime Support.
      • Transparent Execution.
      • 24/7 Availability.
      • Scalable Teams.

      Join Our 200+ Happy Clients Across Globe


      Free Consultation.

        Do you need tech help of your startup/business? Experts from our team will get in touch with you.

        Please do not post jobs/internships inquiries here.