From the course: Installing and Running Ruby on Rails 6

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create a new Ruby on Rails project

Create a new Ruby on Rails project - Ruby on Rails Tutorial

From the course: Installing and Running Ruby on Rails 6

Start my 1-month free trial

Create a new Ruby on Rails project

- [Narrator] Now that we have everything installed, we will try out our installation and make sure it's working by creating a new Ruby on Rails project. We're going to create Ruby on Rails projects from the command line, and the first thing we need to decide is where we want to put our project. A Ruby on Rails project can go anywhere. It's a self-contained folder that has the whole project in it, and we can run that code from absolutely anywhere on our hard drive. By convention, most developers usually pick a folder where they're going to put all of their projects. I'm in my main User folder here. You can see that inside there, there's a couple places I could put it, like Documents, but I'm actually going to create a new directory, using mkdir in Unix to create a new directory called Sites. And then I can move into that Sites directory, and you'll see there's nothing in there, but that's where I'm going to put my project.…

Contents