Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Require Gem::Command* for tests
This is needed in various places after removing the unneeded requires
from lib/rubygems/ext*.
  • Loading branch information
drbrain committed Oct 24, 2013
1 parent 761bfb2 commit d9cfc98
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rubygems/ext/cmake_builder.rb
@@ -1,3 +1,5 @@
require 'rubygems/command'

class Gem::Ext::CmakeBuilder < Gem::Ext::Builder
def self.build(extension, directory, dest_path, results)
unless File.exist?('Makefile') then
Expand Down
1 change: 1 addition & 0 deletions lib/rubygems/installer.rb
Expand Up @@ -4,6 +4,7 @@
# See LICENSE.txt for permissions.
#++

require 'rubygems/command'
require 'rubygems/exceptions'
require 'rubygems/package'
require 'rubygems/ext'
Expand Down
1 change: 1 addition & 0 deletions test/rubygems/test_gem.rb
@@ -1,6 +1,7 @@
# coding: US-ASCII
require 'rubygems/test_case'
require 'rubygems'
require 'rubygems/command'
require 'rubygems/installer'
require 'pathname'
require 'tmpdir'
Expand Down

0 comments on commit d9cfc98

Please sign in to comment.