summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/templates/environment.rb1
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