Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating install docs

  • Loading branch information...
commit 49a26c533366eff63acd3c99ed0dffc04f85f55c 1 parent 7ec7328
@mikel mikel authored
Showing with 8 additions and 4 deletions.
  1. +8 −4 railties/guides/source/3_0_release_notes.textile
View
12 railties/guides/source/3_0_release_notes.textile
@@ -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.
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.