Remove remaining require 'rubygems'

This commit is contained in:
Santiago Pastorino 2012-05-13 13:33:20 -03:00
parent 59b773705e
commit 6e55d30ca8
5 changed files with 1 additions and 9 deletions

View File

@ -1,5 +1,3 @@
require 'rubygems'
# Set up gems listed in the Gemfile. # Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)

View File

@ -8,9 +8,6 @@ def bundler?
File.exists?('Gemfile') File.exists?('Gemfile')
end end
# Loading Action Pack requires rack and erubis.
require 'rubygems'
begin begin
# Guides generation in the Rails repo. # Guides generation in the Rails repo.
as_lib = File.join(pwd, "../activesupport/lib") as_lib = File.join(pwd, "../activesupport/lib")

View File

@ -137,8 +137,6 @@ h4. +config/boot.rb+
+config/boot.rb+ contains this: +config/boot.rb+ contains this:
<ruby> <ruby>
require 'rubygems'
# Set up gems listed in the Gemfile. # Set up gems listed in the Gemfile.
gemfile = File.expand_path('../../Gemfile', __FILE__) gemfile = File.expand_path('../../Gemfile', __FILE__)
begin begin

View File

@ -26,7 +26,6 @@
# #
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
require 'rubygems'
require 'w3c_validators' require 'w3c_validators'
include W3CValidators include W3CValidators

View File

@ -247,7 +247,7 @@ module Rails
# end-user gets the bundler commands called anyway, so no big deal. # end-user gets the bundler commands called anyway, so no big deal.
# #
# Thanks to James Tucker for the Gem tricks involved in this call. # Thanks to James Tucker for the Gem tricks involved in this call.
print `"#{Gem.ruby}" -rubygems "#{Gem.bin_path('bundler', 'bundle')}" #{command}` print `"#{Gem.ruby}" "#{Gem.bin_path('bundler', 'bundle')}" #{command}`
end end
def run_bundle def run_bundle