aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2010-04-09 06:45:49 +1000
committerXavier Noria <fxn@hashref.com>2010-04-09 04:49:55 -0700
commite35f05cc8e2c9362edb6065d8ad39c8ec3bce349 (patch)
tree4d45a8433d6778a6ad97db8817d1737dda891626 /railties
parentb2a2d9f91b62564e30ab6e77a1347f51f90156f2 (diff)
downloadrails-e35f05cc8e2c9362edb6065d8ad39c8ec3bce349.tar.gz
rails-e35f05cc8e2c9362edb6065d8ad39c8ec3bce349.tar.bz2
rails-e35f05cc8e2c9362edb6065d8ad39c8ec3bce349.zip
Mention a way to turn off bundler and begin talking about version_requirements
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/initialization.textile4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/guides/source/initialization.textile b/railties/guides/source/initialization.textile
index 1b76034f82..9b6727b740 100644
--- a/railties/guides/source/initialization.textile
+++ b/railties/guides/source/initialization.textile
@@ -1790,6 +1790,8 @@ Now that Rails has finished loading all the Railties by way of +require 'rails/a
Bundler.require :default, Rails.env
</ruby>
+NOTE: It is worth mentioning here that you are not tied to using Bundler with Rails 3, but it is (of course) advised that you do. To "turn off" Bundler, comment out or remove the corresponding lines in _config/application.rb_ and _config/boot.rb_.
+
Bundler was +require+'d back in _config/boot.rb_ and now we'll dive into the internals of Bundler to determine precisely what this line accomplishes.
h4. +Bundler.require+
@@ -2101,6 +2103,8 @@ The +initialize+ method in +Gem::Dependency+ is defined:
end
</ruby>
+The +version_requirements+ that was passed in here
+