Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8934549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:48:52+00:00 2026-06-15T09:48:52+00:00

I just did apt-get install ruby.1.9.1 , installing it successfully. Now when I do

  • 0

I just did apt-get install ruby.1.9.1, installing it successfully. Now when I do ruby -v, it’s still 1.8.7. Why won’t it use the newly installed version? I don’t know why, but I can’t find anything via google on how to manage ruby versions without rvm. I know rvm is awesome, but in this case it has to be without rvm.

Can anybody help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:48:54+00:00Added an answer on June 15, 2026 at 9:48 am

    This is just an example of how to resolve this issue. The paths and file names might be different on your system, but you should get the idea from here:

    # First locate the original ruby
    > which ruby
    /usr/bin/ruby   # <- Your path might be different
    
    # Then locate ruby19
    > which ruby19
    /usr/bin/ruby19
    
    # Move the old ruby out of the way
    > mv /usr/bin/ruby /usr/bin/ruby_old
    
    # Link ruby to the new ruby (ruby19)
    # ln -s is used to create a new symbolic link. See "man ln" for more info.
    > cd /usr/bin
    > ln -s ruby19 ruby
    

    Now you should have:

    /usr/bin/ruby_old                 # The old executable
    /usr/bin/ruby -> /usr/bin/ruby19  # The new link
    /usr/bin/ruby19                   # The new executable
    

    Note: it’s easy to break your system ruby if you’re not careful using this method. That’s why RVM is usually a better solution if you have the choice. You can leave a comment if something breaks, and I will try and improve the instructions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just did a fresh install of Ubuntu 12.04 pulling down haskell-platform from apt-get
I installed Ruby 1.8.7 through apt-get. I then installed 1.9.1 through RVM. The RVM
I installed gitosis on my Ubuntu 10.4 Server via apt-get install gitosis Then I
I just did a fresh install (from source) of Python 3.3 and I installed
I just did un-installation of instant_rhodes-2.4.1.exe and install instant_rhodes-3.0.0.exe to Windows 7 Now when
I just did a fresh install of Lion and now my app doesn't seem
I just did a fresh install of Apache server 2.2. Everything works. When I
I just did an update of my SDK and now eclipse is giving me
I just installed Turnkey LAMP Stack Appliance , and I need to install Drupal,
i just did ListView like this: All source: ListView Now i want to add

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.