


Replace the project_name with the name of your new application. Go into your development directory and type in: When that is done installing, verify that the correct version of Rails was installed by typingĪnd it should respond with 3.0.7 or higher Creating a Rails application This should take a few minutes because it is installing several of the Rails dependencies (ActiveRecord, ActionPack, ActiveSupport, etc).
#Rubyinstaller. install
This makes it really easy to install Rails. When you install Ruby, the RubyGems system is also installed. Now we should install the ruby bindings to SQLite3 You can verify that this is installed by typing: Copy the executable in the zip also to the C:\Ruby192\bin directory. The command line shell is useful for looking around in your sqlite3 databases. Copy both of those files into the C:\Ruby192\bin directory.Īlso, while you’re still at the SqlLite download page you should pick up the shell file ( sqlite-shell-win3603.zip) as well. Go to the SQLite download page and find the precompiled binaries for windows section and download the sqlite-dll-win3603.zipĪfter unzipping that file, you should end up with the files sqlite3.dll and f. And of course, Windows does not support SqlLite right out of the box. So when running rails we would like to have a database to start off with without having to set up a local database connection. Hey that wasn’t so difficult was it? I told you that RubyInstaller was easy 🙂 Install SqlLite3 Now with your command prompt still open, let’s check to see that RubyGems was installed as well: Then it should reply with something similar to: Get to your command prompt (Via Start -> Run -> type in cmd). Now let’s verify that Ruby has been correctly installed. So as you’re installing the RubyInstaller, Be sure to select, “Add Ruby Executables to your Path” If you decide to get the DevKit, just install it to the C:\Ruby192\devkit folder for now. It allows you to have RubyGems build C-based gems. I would not recommend installing Ruby to a place that has spaces in it, like the Program Files folder.įrom here you can also download the DevKit as well. Installing it to C:\Ruby192 is perfectly fine.

It includes the Ruby execution environment and documentation.įirst download and install The RubyInstaller. RubyInstaller is the easiest way to install ruby in windows. To install ruby on our windows machine we will be using RubyInstaller.
#Rubyinstaller. how to
Here’s a step by step guide on how to install rails in Windows. Then I decided to try using Rails in Windows. So last week I got a little tired of having to reboot my computer to dual-boot in a linux environment so that I could work on Rails stuff.
