If you are completing the NodeJS track you may opt to skip these Ruby and Rails lessons. It might be worth your time to look at them for the experience, but you will not be using them in later parts of the curriculum.
That said, some languages are more popular and practical than others. If you’re running your own server, you have a ton of flexibility but plenty of headaches. If you’re deploying to the cloud (which we will be doing later), you may be restricted to those languages which your cloud provider has installed on their platform… it doesn’t do you much good if the servers you’re “borrowing” from can’t understand your code!
As we covered back in the Installations section, the front end languages live in the browser so there’s no extra installations required. For the reasons listed above, the back end languages do require you to install them on your computer in order to get them running. This should have already been done in that project, so we’ll just make sure that you have them properly installed.
$ ruby -vand
$ rails -vinto your command line (remember, the
$just represents the command prompt). You should get back versions similar to
2.0.0or above and
5.0.0or above. If you didn’t get those values, you’ll need to do the following. To install Ruby, go back to the Installing Ruby Unit and follow its instructions accordingly. To install Rails, follow step 1.1 in Project: Your First Rails Application.
$ which gitand see the directory where you installed Git.