Browse files

Mention a way to turn off bundler and begin talking about version_req…

…uirements
  • Loading branch information...
1 parent b2a2d9f commit e35f05cc8e2c9362edb6065d8ad39c8ec3bce349 @radar radar committed with fxn Apr 9, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 railties/guides/source/initialization.textile
View
4 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
+

2 comments on commit e35f05c

@wycats
Ruby on Rails member

An easier way to remove bundler is to simply delete the Gemfile

@trevorturk

And it'd be worth noting that you have the --skip-gemfile option, if I'm not mistaken.

Please sign in to comment.