Skip to content
This repository
Browse code

Updating install docs

  • Loading branch information...
commit 49a26c533366eff63acd3c99ed0dffc04f85f55c 1 parent 7ec7328
Mikel Lindsaar mikel authored

Showing 1 changed file with 8 additions and 4 deletions. Show diff stats Hide diff stats

  1. +8 4 railties/guides/source/3_0_release_notes.textile
12 railties/guides/source/3_0_release_notes.textile
Source Rendered
@@ -62,13 +62,17 @@ Rails 3.0 is designed to run on 1.8.7 and also support Ruby 1.9.
62 62 There have been a few changes to the +rails+ script that's used to generate Rails applications:
63 63
64 64 * 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.
65   -* Additionally, any flags you need to generate the application now need to come after the application path, for example:
  65 +* Additionally, any flags you need to generate the application now need to come after the application path.
  66 +
  67 +The new installing rails sequence (for the beta) is:
66 68
67 69 <shell>
68   -$ rails myapp --database=mysql
  70 +$ gem install rails --prerelease
  71 +$ rails myapp
  72 +$ cd myapp
  73 +$ bundle install
69 74 </shell>
70 75
71   -
72 76 h4. Vendoring Gems
73 77
74 78 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
78 82
79 83 h4. Living on the Edge
80 84
81   -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:
  85 +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:
82 86
83 87 <shell>
84 88 $ rails myapp --edge

0 comments on commit 49a26c5

Please sign in to comment.
Something went wrong with that request. Please try again.