How can I use rvm to install a specific version of Ruby, eg 1.9.3p327
instead of the current 1.9.3p194
that I have.
All the references and document are about the major version, eg rvm install 1.9.3
but don't mention the 'p' minor version numbers.
I tried
$ rvm install 1.9.3p327
Unknown ruby interpreter version: '1.9.3p327'.
Could not detect ruby version/name for installation, please be more specific.
$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
$ rvm install '1.9.3p327'
Unknown ruby interpreter version: '1.9.3p327'.
Could not detect ruby version/name for installation, please be more specific.
Turned out to be a dash ! $ rvm install 1.9.3-p327
rvm install 1.9.3p327
should work without single quotes.
EDIT: The following option is now deprecated.
Alternatly, to install a patch specific level you could use the -l
option. For example
rvm install 1.9.3 -l 327
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.