mklemos
mklemos

Reputation: 69

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])

Upvotes: 3

Views: 2537

Answers (2)

Henry G
Henry G

Reputation: 156

If you are running Amazon Linux 2, the newer Ruby versions are no longer available via yum. Instead, use:

sudo amazon-linux-extras install ruby2.4

Upvotes: 9

Mark B
Mark B

Reputation: 200446

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

sudo yum install ruby23

Upvotes: 3

Related Questions