Skip to content

Commit

Permalink
Updating guides to new rails initialization process
Browse files Browse the repository at this point in the history
  • Loading branch information
mikel committed Jun 3, 2010
1 parent 06892c3 commit 54249b5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions railties/guides/source/3_0_release_notes.textile
Expand Up @@ -81,7 +81,7 @@ The new installing rails sequence (for the beta) is:

<shell>
$ gem install rails --prerelease
$ rails myapp
$ rails new myapp
$ cd myapp
</shell>

Expand All @@ -98,13 +98,13 @@ h4. Living on the Edge
If you want to bundle straight from the Git repository, you can pass the +--edge+ flag:

<shell>
$ rails myapp --edge
$ rails new myapp --edge
</shell>

If you have a local checkout of the Rails repository and want to generate an application using that, you can pass the +--dev+ flag:

<shell>
$ ruby /path/to/rails/bin/rails myapp --dev
$ ruby /path/to/rails/bin/rails new myapp --dev
</shell>

h3. Rails Architectural Changes
Expand Down
2 changes: 1 addition & 1 deletion railties/guides/source/generators.textile
Expand Up @@ -20,7 +20,7 @@ h3. First contact
When you create an application using the +rails+ command, you are in fact using a Rails generator. After that, you can get a list of all available generators by just invoking +rails generate+:

<shell>
$ rails myapp
$ rails new myapp
$ cd myapp
$ rails generate
</shell>
Expand Down
2 changes: 1 addition & 1 deletion railties/guides/source/getting_started.textile
Expand Up @@ -160,7 +160,7 @@ The best way to use this guide is to follow each step as it happens, no code or
To begin, open a terminal, navigate to a folder where you have rights to create files, and type:

<shell>
$ rails blog
$ rails new blog
</shell>

This will create a Rails application called Blog in a directory called blog.
Expand Down
4 changes: 2 additions & 2 deletions railties/guides/source/rails_application_templates.textile
Expand Up @@ -14,13 +14,13 @@ h3. Usage
To apply a template, you need to provide the Rails generator with the location of the template you wish to apply, using -m option :

<shell>
$ rails blog -m ~/template.rb
$ rails new blog -m ~/template.rb
</shell>

It's also possible to apply a template using a URL :

<shell>
$ rails blog -m http://gist.github.com/31208.txt
$ rails new blog -m http://gist.github.com/31208.txt
</shell>

Alternatively, you can use the rake task +rails:template+ to apply a template to an existing Rails application :
Expand Down

0 comments on commit 54249b5

Please sign in to comment.