
It is a lightweight Ruby Version Management Tool. We are installing Ruby On Rails on Linux using rbenv. Use the following command to check the rails version.Ĭongratulations! You are now on Rails over Windows.

Make sure you are connected to the internet while installing gems dependencies. Note − The above command may take some time to install all dependencies. Install Rails − With Rubygems loaded, you can install all of Rails and its dependencies using the following command through the command line − Please check the Release Notes for more detail. It's a very small package, and you'll get RubyGems as well along with this package. This is an exe file rubyinstaller-2.2.2.x.exe and will be installed in a single click. Follow the download link, and run the resulting installer. If Ruby is not installed, then download an installation package from. If you don't get an error, skip Install Ruby step. If Ruby responds, and if it shows a version number at or above 2.2.2, then type gem -version. Open the command prompt and type ruby -v. Step 1: Check Ruby Versionįirst, check if you already have Ruby installed. Rails Installation on Windowsįollow the steps given below for installing Ruby on Rails. Let's look at the installation instructions for Rails on Windows and Linux.

Please refer to a corresponding Database System Setup manual to set up your database. Rails works with many database systems, including MySQL, PostgreSQL, SQLite, Oracle, DB2 and SQL Server. Most websites however use Apache or lightTPD web servers in production. You can use the WEBrick Web Server, which comes with Ruby. We assume that you already have installed a Web Server and a Database System on your computer. To develop a web application using Ruby on Rails Framework, you need to install the following software −
