aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2010-04-09 06:45:49 +1000
committerRyan Bigg <radarlistener@gmail.com>2010-04-09 06:48:41 +1000
commitf4f24cc6412d5ded1ee3b149cb0a9967ada281f7 (patch)
tree40433b2b2320ea3db34d8ab00688f0f6536a94f2
parent7005e6db471ca9920ab680ce6c4fc5f0974e8cbb (diff)
downloadrails-f4f24cc6412d5ded1ee3b149cb0a9967ada281f7.tar.gz
rails-f4f24cc6412d5ded1ee3b149cb0a9967ada281f7.tar.bz2
rails-f4f24cc6412d5ded1ee3b149cb0a9967ada281f7.zip
Mention a way to turn off bundler and begin talking about version_requirements
-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
+