Kode Blog - Inspiring And Empowering Developers.
In this tutorial, we will show you how to install and configure ruby on rails. Installing and getting Ruby on rails to work can be a pain in a quite significant part of the body if it’s not done right. If you are not a fan of command line then it even becomes worse.
This tutorial will show you the easiest way of installing and configuring ruby on rails.
We will cover the following topics in this tutorial.
The following are the key software components that you will need to start developing and running ruby on rails applications.
In addition to the above, you will need the following tools.
The easiest way to install ruby on rails is using RailsInstaller. RailsInstaller has all the components that you need to get ruby on rails running. It works for windows and Mac OS. RailsInstaller installs and configures the default framework settings for you.
You can download rails installer from the official web site railsInstaller.org
Installing RailsInstaller is just like installing any other program so we will not cover that in this tutorial. Make sure you select all the components included in the RailsInstaller. Use the comments section below to ask if you run into any problems.
Alternatively, you can install ruby language and use the command line to ruby on rails.
Open the command line terminal
Run the following command to check the version of ruby
ruby –v
The above command should show you the version of ruby that you have installed
rails –v
the above command should show you the version of ruby on rails that you have installed
gem list
the above command will list all the ruby gems that you have installed
The following image shows what you should get or something similar to it after executing the above commands.
In this tutorial, we learnt how to install ruby on rails and interact with ruby using the command line.
In the next tutorial, we will show you how to create a hello world web application in ruby on rails
If you found this tutorial useful, support us by using the social media buttons to like and share the tutorial. If you didn’t find it useful, please use the comments section below to let us know how we can do better next time.
Each week, a new Ruby on Rails tutorial is added to our collection. Subscribe to our newsletter, like our Facebook fan page or follow us on Twitter to get free updates when the collection is updated.
Tutorial version 1: Date Published 2015-09-21