Skip to content

Commit

Permalink
Updating install docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikel committed Feb 2, 2010
1 parent 7ec7328 commit 49a26c5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions railties/guides/source/3_0_release_notes.textile
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,17 @@ Rails 3.0 is designed to run on 1.8.7 and also support Ruby 1.9.
There have been a few changes to the +rails+ script that's used to generate Rails applications:

* The application name, <tt>rails my_app</tt>, can now optionally be a path instead <tt>rails ~/code/my_app</tt>, your rails application will be name spaced under the application name you pass the +rails+ command.
* Additionally, any flags you need to generate the application now need to come after the application path, for example:
* Additionally, any flags you need to generate the application now need to come after the application path.

The new installing rails sequence (for the beta) is:

<shell>
$ rails myapp --database=mysql
$ gem install rails --prerelease
$ rails myapp
$ cd myapp
$ bundle install
</shell>


h4. Vendoring Gems

Rails now uses a +Gemfile+ in the application root to determine the gems you require for your application to start. This +Gemfile+ is then read and acted on by the new "Bundler":http://github.com/wycats/bundler gem, which then vendors all your gems into the vendor directory, making your Rails application isolated from system gems.
Expand All @@ -78,7 +82,7 @@ More information: - "Using bundler":http://yehudakatz.com/2009/11/03/using-the-n

h4. Living on the Edge

Due to the use of +Gemfile+, the concept of freezing Rails was dropped, because it's always bundled/frozen inside your application. By default, it uses your system gems when bundling; however, if you want to bundle straight from the Git repository, you can pass the edge flag:
Due to the use of +Gemfile+, your Rails app is "frozen" by default, that is, all the gems you depend on are kept in your vendor directory, these gems are copied from your system gems by default or from gemcutter. If you want to bundle straight from the Git repository, you can pass the edge flag:

<shell>
$ rails myapp --edge
Expand Down

0 comments on commit 49a26c5

Please sign in to comment.