Rvm - cannot install version up to 1.9.3

$ ruby -v
$ ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

I have:

rvm list rubies

rvm rubies

   ree-1.8.7-2011.03 [ x86_64 ]
 * ruby-1.9.3-p125 [ x86_64 ]

# => - current
# =* - current && default
#  * - default

but I get:

$ ruby soduko.rb 
nil
nil

I can not switch to 1.9.3:

rvm use 1.9.3
Gemset '' does not exist, 'rvm gemset create ' first, or append '--create'.

$ rvm gemset create
# Noting(?)

$ rvm gemset create md
Gemset '' does not exist, 'rvm gemset create ' first, or append '--create'.

$ ruby -v
$ ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
+3
source share
1 answer

Probably a new gemset should be created and associated with the ruby ​​version. Try this command:

rvm use 1.9.3@newgemset --create --default

You should also try rvm use ruby-1.9.3-p125 --default, sometimes mentioning the patch number works (but as far as I saw, this dependence is visible only when working with different patches of the same version, it’s still worth taking a picture)

+18
source

All Articles