Search code examples
rubyamazon-web-servicesamazon-ec2amazon-ami

Best Amazon linux AMI for using Ruby 2.3.3


I recently spun up a server that had Amazon's default Linux distro. I was disappointed to find that the version of Ruby I want (2.2.3) is unavailable. Is their a distro that will let me upgrade past the default version (ruby 2.0.0p648 (2015-12-16) [x86_64-linux])


Solution

  • If you are using Amazon Linux, then you need to run this command to install Ruby 2.3:

    sudo yum install ruby23