en
  English
Phone :  +370 (5) 204-1903
Email: sales@1gbits.com

How To Install Ruby on Rails on Ubuntu 16, Check rails version

Ruby on Rails is an application stack that provides developers with a framework to quickly create a variety of web applications. Ruby on Rails does take a little while to install on a virtual server, but luckily there are a lot of helpful tools to make this process as easy as possible. You can run this tutorial on your droplet as a user with sudo privileges.

Ubnutu Tutorials Sep 07, 16 by admin 3 min Read
How To Install Ruby on Rails on Ubuntu 16, Check rails version

Ruby on Rails is an application stack that provides developers with a framework to quickly create a variety of web applications. Ruby on Rails does take a little while to install on a virtual server, but luckily there are a lot of helpful tools to make this process as easy as possible. You can run this tutorial on your droplet as a user with sudo privileges.

Step 1. Update and Upgrade

First, make sure to update and upgrade Ubuntu by running the following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing RVM.

One way of installing Ruby on Rails on a VPS is by using the Ruby enVironment Manager, or shortly RVM. We will use RVM to install Ruby on Rails in this tutorial. In order to install RVM on your server, you can use the following commands:

To start using RVM you need to run:

Now that RVM is installed and configured and Ruby is on the system, you can install Rails. Rails is available as a Gem, which is a Ruby package. When Ruby is installed, its native Gem packaging system is also installed. Installing Ruby packages is very similar to any Linux package manager. To install Rails you can use the command below:

author img

admin

Leave A Comment