Skip to content
Browse files

Additional details on config.gem processing for 2.2 release notes

  • Loading branch information...
1 parent b43ed56 commit 7701b0611c95278d1bbe4bdf064ee447c68beafd @ffmike ffmike committed
View
7 railties/doc/guides/html/2_2_release_notes.html
@@ -1017,7 +1017,7 @@ <h3 id="_tt_config_gems_tt">10.1. <tt>config.gems</tt></h3>
</li>
<li>
<p>
-<tt>rake gems</tt> to list all configured gems, as well as whether they (and their dependencies) are installed or frozen
+<tt>rake gems</tt> to list all configured gems, as well as whether they (and their dependencies) are installed, frozen, or framework (framework gems are those loaded by Rails before the gem dependency code is executed; such gems cannot be frozen)
</p>
</li>
<li>
@@ -1068,6 +1068,11 @@ <h3 id="_tt_config_gems_tt">10.1. <tt>config.gems</tt></h3>
<a href="http://afreshcup.com/2008/10/25/rails-212-and-22rc1-update-your-rubygems/">Rails 2.1.2 and 2.2RC1: Update Your RubyGems</a>
</p>
</li>
+<li>
+<p>
+<a href="http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1128">Detailed discussion on Lighthouse</a>
+</p>
+</li>
</ul></div>
</li>
</ul></div>
View
3 railties/doc/guides/source/2_2_release_notes.txt
@@ -381,7 +381,7 @@ In Railties (the core code of Rails itself) the biggest changes are in the +conf
To avoid deployment issues and make Rails applications more self-contained, it's possible to place copies of all of the gems that your Rails application requires in +/vendor/gems+. This capability first appeared in Rails 2.1, but it's much more flexible and robust in Rails 2.2, handling complicated dependencies between gems. Gem management in Rails includes these commands:
* +config.gem _gem_name_+ in your +config/environment.rb+ file
-* +rake gems+ to list all configured gems, as well as whether they (and their dependencies) are installed or frozen
+* +rake gems+ to list all configured gems, as well as whether they (and their dependencies) are installed, frozen, or framework (framework gems are those loaded by Rails before the gem dependency code is executed; such gems cannot be frozen)
* +rake gems:install+ to install missing gems to the computer
* +rake gems:unpack+ to place a copy of the required gems into +/vendor/gems+
* +rake gems:unpack:dependencies+ to get copies of the required gems and their dependencies into +/vendor/gems+
@@ -394,6 +394,7 @@ You can unpack or install a single gem by specifying +GEM=_gem_name_+ on the com
* More information:
- link:http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-gem-dependencies[What's New in Edge Rails: Gem Dependencies]
- link:http://afreshcup.com/2008/10/25/rails-212-and-22rc1-update-your-rubygems/[Rails 2.1.2 and 2.2RC1: Update Your RubyGems]
+ - link:http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1128[Detailed discussion on Lighthouse]
=== Other Railties Changes

0 comments on commit 7701b06

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