Mention a way to turn off bundler and begin talking about version_requirements

This commit is contained in:
Ryan Bigg
2010-04-09 06:45:49 +10:00
committed by Xavier Noria
parent b2a2d9f91b
commit e35f05cc8e

View File

@@ -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