mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove remaining require 'rubygems'
This commit is contained in:
parent
59b773705e
commit
6e55d30ca8
5 changed files with 1 additions and 9 deletions
|
@ -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__)
|
||||||
|
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
#
|
#
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
require 'rubygems'
|
|
||||||
require 'w3c_validators'
|
require 'w3c_validators'
|
||||||
include W3CValidators
|
include W3CValidators
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue