diff options
author | Carl Lerche <carllerche@mac.com> | 2009-07-28 19:59:38 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-07-28 19:59:38 -0700 |
commit | 1a51467e0b9673e44ee4acb50edbeb9c4886e4ad (patch) | |
tree | 19cad33939f4ae2b0ad32cb81841606977103dcd /lib | |
parent | 7119291be40909f801598f7cb55d72a48435c0a9 (diff) | |
download | bundler-1a51467e0b9673e44ee4acb50edbeb9c4886e4ad.tar.gz |
Correctly set Gem.loaded_specs when rubygems is automatically required
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/templates/environment.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/templates/environment.rb b/lib/bundler/templates/environment.rb index a782481ab3..7d974bc539 100644 --- a/lib/bundler/templates/environment.rb +++ b/lib/bundler/templates/environment.rb @@ -21,6 +21,7 @@ $LOAD_PATH.unshift "<%= load_path %>" <% end %> <% if @rubygems == :require %> require "rubygems" +Bundler.rubygems_required <% elsif @rubygems == :disable %> $" << "rubygems.rb" module Kernel |