How can I switch to the latest ruby on AWS Linux?

amazon-ec2, ruby

Solution

Ruby version 1.9 should be available under the name `ruby19` or `ruby1.9`. `ruby` is just a symbolic link that points to default version of ruby.

Problem

AWS Linux 2012.03 now comes with ruby 1.9.3 To install it (as per the docs): ``` sudo yum install ruby19 ``` But `ruby -v` shows `1.8.7`. How would I switch it over 1.9.3 (If its already there there would be no need to use RVM yes?)

Original source