This is the companion application to the Minimal Introduction to the Ruby Language. You will find a Getting Started video there.
- Clone this repository.
- Launch Terminal/Command Prompt with Ruby on Rails.
cd
into the repository you cloned.- Run the
bundle install
command. This ensures you have all of the required software installed on your computer. - Run the
rails server
command. This starts up your web server so that you can start visiting pages in the app. This Terminal window is now dedicated to the running web server; you can't do anything else in it. - Open another Terminal tab (⌘+T) or launch another Command Prompt with Ruby on Rails and
cd
back to the same folder again. (In the GitHub Desktop App for Mac, you can also right-click on the repository name in the sidebar and select "Open in Terminal".) - Run the
rails console
command. Now you can start reading the Minimal Introduction to the Ruby Language and try out the Ruby that it suggests in therails console
at the prompt that appears. - When you get to the article on writing Permanent Programs, open up the code that you cloned in Atom. The GitHub Desktop app offers a shortcut to do that on both Mac and Windows, or you can just do it from Atom.