README.md in rail-0.0.6 vs README.md in rail-0.0.7

- old
+ new

@@ -6,32 +6,66 @@ * [CoffeeScript](http://coffeescript.org/) for JavaScript, * [Haml](http://haml.info/) for HTML, and * [Sass](http://sass-lang.com/) for CSS. -## Installation +## Straightforward Installation -First of all, include the gem in your `Gemfile`. Here is an example: +Install the gem: +```bash +$ gem install rail +``` + +Create a new project: + +```bash +$ rail new my_project +``` + +Run [Bundler](http://bundler.io/): + +```bash +$ cd ./my_project +$ bundle +``` + +Run the server: + +```bash +$ rake server +``` + +Open `http://localhost:3000` in your browser, see “My Project,” and enjoy. + +Under the hood, the `rail new my_project` command creates a new folder in the +current directory called `my_project` and initializes a basic Rail project +inside that folder. In this case, `MyProject` is used as the class name of +the project. Feel free to replace `my_project` with the name of your project. + +## Manual Installation + +Include the gem in your `Gemfile`: + ```ruby source 'https://rubygems.org' -gem 'rail', '~> 0.0.6' +gem 'rail', '~> 0.0.7' # The rest is optional gem 'redcarpet', '~> 3.1.2' # your favorit complement to Haml gem 'thin', '~> 1.6.2' # your favorit Web server ``` -Then run [Bundler](http://bundler.io/): +Run [Bundler](http://bundler.io/): ```bash $ bundle ``` -Now we need to create three files: `config/application.rb`, `config.ru`, and -`Rakefile`. In `config/application.rb`: +Create three files: `config/application.rb`, `config.ru`, and `Rakefile`. +In `config/application.rb`: ```ruby require 'bundler' Bundler.require(:default) @@ -55,10 +89,10 @@ require_relative 'config/application' MyProject::Application.load_tasks ``` -Feel free to replace `MyProject` with the name of your project. That’s it. +Feel free to replace `MyProject` with the name of your project. ## Usage Rail closely follows Rails. If you know Rails, you already know Rail.