Nice work! In three commands, you built a working Rails app that displays the Rails default page. How does it work?
The rails new command created a new Rails app named MySite. It generated a number of files and folders that we will use to build the app. In the Code Editor, click on the folder icon to see these files and folders. We'll see what these files and folders are for in the next exercises. The rails new command is the starting point of every Rails project.
The bundle install command installed all the software packages needed by the new Rails app. These software packages are called gems and they are listed in the file Gemfile.
The rails server command started the Rails development server so that we could preview the app in the browser by visiting http://localhost:8000. This development server is called WEBrick.
The new Rails app contains a number of files and folders. Click Next to find out how they work together.
Report a Bug
If you see a bug or any other issue with this page, please report it here.