How to install latest version Ruby?

Published on : April 27, 2026

Author:

Category: Ruby


You can install latest version ruby in Ubuntu 14.04 by this command

sudo apt-get install software-properties-common

sudo add-apt-repository ppa:brightbox/ruby-ng

sudo apt-get update

sudo apt-get -y install ruby2.1 ruby-switch ruby2.1-dev ri2.1 libruby2.1 libssl-dev zlib1g-dev

sudo ruby-switch –set ruby2.1

 


Leave a Reply

Your email address will not be published. Required fields are marked *