A.3. Rails

Even if you eventually use Edge Rails for your projects, you need to have a version of Gem Rails installed to get the rails command for creating new projects. Here's the command:

$ sudo gem install rails --include-dependencies

Windows users don't need the sudo. This installs all of the various Rails components to your Ruby installation. Upgrading to Edge Rails for your project is covered in Chapter 1.

Get Professional Ruby on Rails™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.