How to Install Ruby Gems via SSH Updated on September 7, 2023 by InMotion Hosting Contributor 0 Minutes, 51 Seconds to Read Since Ruby is installed on shared servers, including our Ruby Hosting plans, you have the ability to install gems. Gems are software packages that utilize the Ruby framework. Once they are installed, the new functionality can be used for your website. In my example, I will be installing Sass, which is an “extension of css.” How to Install Ruby Gems Login to your server via SSH. Run the following ruby install command. Be sure to replace sass with the actual gem you want to install. gem install sass You should see a response similar to this, based on the gem you install. Successfully installed sass-3.4.2…1 gem installedInstalling ri documentation for sass-3.4.2…Installing RDoc documentation for sass-3.4.2… In this example, you see the the message “1 gem installed,” along with the documentation. Congratulations, now you know how to Install a Ruby via SSH using command line! To continue learning, see the Official Ruby Guides. Code Academy is also a good source for learning to Ruby. Plus, check out our Ruby Education Channel for more info! Share this Article IC InMotion Hosting Contributor Content Writer 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 Related Articles How to SSH Into Your Shared/Reseller Server SSH Commands: The Practical Guide for Developers and Site Owners How to Connect to Your Server with SSH How to Use SCP For Secure File Transfer A Complete SSH Tutorial for Beginners How to Connect to Your Server via SSH How to View MariaDB Databases Using the Command Line How to Add SSH Keys to Your GitHub Account How to Change Directories using SSH Commands Viewing Running Processes on your Dedicated Server