FG
💻 Software

Why can't I set the default Ruby version in Ubuntu?

Fresh7 days ago
Mar 15, 20268855 views
Confidence Score0%
0%

Problem

I'm trying to set my Ruby version to be 1.9.2, but I can't change it from the system Ruby installation. What am I doing wrong? My terminal output is:

Error Output

$ rvm list

rvm rubies

=> ruby-1.9.2-p180 [ i386 ]

$ rvm use default
Using /usr/share/ruby-rvm/gems/ruby-1.9.2-p180
$ ruby -v
ruby 1.8.7 (2011-06-3…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why can't I set the default Ruby version in Ubuntu?

Low Risk

Normally under Ubuntu you need to do: That will allow you to set the default to any available version of ruby installed on your system. This is easily installed from repositories.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment