The first step you need in order to work with RailsBricks on Windows is to install …Ruby! Go to rubyinstaller.org/downloads/ and choose a version of Ruby (2.1.x versions recommended) that is 32 bits or 64 bits depending on your version of Windows.
2. Get the DevKit
Once Ruby is installed, you need to install the Development Kit. Go to rubyinstaller.org/downloads/ and scroll to the appropriate version of the DevKit. Download it and extract it. Note: the location where you extract the zip file is permanent, you can’t move it afterwards so choose wisely and make sure you don’t use spaces in the directory name.
Once extracted, from a command prompt, cd
to the directory where you extracted the DevKit and type ruby dk.rb init
. Press enter. Then, type ruby dk.rb install
and again, press enter. Voila, the DevKit is installed.
3. Install Git (optional)
If you plan to have your projects under source control, you need to install Git. Download it for Windows here and follow the instructions.
4. Install a necessary source of time zone data
You need to manually install the tzinfo-data gem. Get it by typing gem install tzinfo-data
in a command prompt.
5. Get RailsBricks (finally)
Now, you can install railsbricks by issuing gem install railsbricks
in a command prompt. You are now ready to generate your first project with RailsBricks. Follow the quick get started guide.