README.md in rail-0.0.7 vs README.md in rail-0.0.8
- old
+ new
@@ -6,12 +6,14 @@
* [CoffeeScript](http://coffeescript.org/) for JavaScript,
* [Haml](http://haml.info/) for HTML, and
* [Sass](http://sass-lang.com/) for CSS.
-## Straightforward Installation
+## Installation
+### Straightforward
+
Install the gem:
```bash
$ gem install rail
```
@@ -40,22 +42,18 @@
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
+### Manual
-Include the gem in your `Gemfile`:
+Create a `Gemfile`:
```ruby
source 'https://rubygems.org'
-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
+gem 'rail'
```
Run [Bundler](http://bundler.io/):
```bash
@@ -120,18 +118,18 @@
As with Rails, Rail is configured inside `config/application.rb`:
```ruby
module MyProject
class Application < Rail::Application
- # Import assets from other gems:
- config.gems << 'turbolinks'
+ # Gems to look for additional assets
+ config.gems << 'googleplus-reader'
- # Precompile assets using `rake assets`:
+ # Assets to precompile when running `rake assets`
config.precompile << 'application.css'
config.precompile << 'application.js'
config.precompile << 'index.html'
- # Compress assets:
+ # Compress assets when serving and precompiling
config.compress = true
end
end
```