Viewing Your Ruby Version Via SSH

Viewing Your Ruby Version Via SSH

Now that Ruby is available on shared servers, you may need to know what version is available. In this tutorial we will show you how to see the Ruby version running on your server, by using a command in SSH.

How to View your Ruby Version in SSH

  1. Login to your server via SSH.
  2. Run the following command: ruby -v

You will then see a response similar to the following:

ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]

Congratulations, now you know how to view your version of Ruby via SSH! In the next Ruby guide, we will show you how to install a Gem via SSH. To continue learning, see the Official Ruby Guides. Code Academy is also a good source for learing to Ruby. Learn more information on Ruby Hosting.

IC
InMotion Hosting Contributor Content Writer II

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

Was this article helpful? Join the conversation!

Questions about our MailChannels Deployment? We have answers and are here to help!Learn More
+