Installation

This page guides you on how to set Rush up on your machine!

Install Rails

The first step to install Rush is to install another framework called Rails. If you are wondering, "Why the heck?", I will explain in a second. On the other hand, if you already have Ruby, Rails, Bundler and other such things installed on your computer, you can simply jump to the next step.

What is Rails and why am I installing it?

Rails is a very popular web development framework for making 'dynamic sites'. In fact, me (Khoj Badami) uses Rails all the time. Because a big part of what I do has got to do with making complex dynamic web applications. I wanted to bring many of the concepts and ideas from Rails to the making of static websites too. However, Rails is massive. It has 52 new concepts to learn before you get started. Hence I made Rush. My aim was that with the smallest number of new concepts to learn, one should be able to harness as much power as possible. So in many ways Rush is a subset of Rails.

Nice Story. But why am I installing Rails?

Well, Rush and Rails both depend on the Ruby Language. Now since Rails is super popular, a lot of people have written very nice updated guides about how to install Rails and Ruby and everything else thats needed on different machines and different configurations. Rush is just going to piggy back on all that good work. Once, you install Rails on your machine, then installing Rush does not take more than a minute.

Okay, how should I install Rails?

Well currently here are a few good sources:

Install Rush

If you have Rails, Ruby, Bundler and all that good stuff installed, then installing Rush should happen in under a minute. You just have to go into the terminal (on Mac & Linux) OR command prompt (on Windows) and type in:

copy
gem install rush

Thats pretty much it. Everything should go off successfully. Next lets see how to verify that Rush has been properly installed.

Verify Your Installation

This part is simple too. All you have to do is go to your terminal (on Mac and Linux) or command prompt (on Windows) and type in:

copy
rush -v

You should get a response that talks about the version of Rush that is installed on your computer.

If you get a response that indicates that the your computer has no idea what 'rush' is, then something has not happened properly during the installation. You need to backtrack and figure out what went wrong. The part of the Rush installation with many moving parts is the part where you install Rails. Thankfully, there is a lot of help out there to help with this. So whatever problems you have should be solvable with some Googleing.

Create Your First Project

Okay you are good to go! So lets get started. Go to a folder where you would like to create your first Rush project via the terminal or command prompt. Once you are there, type in:

copy
rush new PROJECT_NAME

Replace 'PROJECT_NAME' with the name of the project you want. As soon as you do this, you should get a happy message indicating that the project has been created and we are ready to get cracking. Next we can look at what has been made and why in the tutorial.