Skip to content

Commit 130a8fc

Browse files
author
ccoupe
committed
for #438 - minor help with gem building
1 parent e3696dc commit 130a8fc

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/shoes/cobbler.rb

+2-3
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,9 @@ def gem_install_one spec
451451
# setup Gem download ui
452452
ui = Gem::DefaultUserInteraction.ui = Gem::CobblerFace.new(@progbar, @status)
453453
ui.title "Installing #{spec.name} #{spec.version}"
454-
installer = Gem::DependencyInstaller.new
454+
installer = Gem::DependencyInstaller.new({:nodoc => true, :install_dir => GEM_DIR})
455455
begin
456-
ENV['PATH'] = "/usr/local/bin:/usr/bin"
457-
$stderr.puts "gem installer env: #{ENV['PATH']}"
456+
#$stderr.puts "gem build setup: #{installer.options}"
458457
installer.install(spec.name, spec.version)
459458
spec.activate
460459
gem_reset

lib/shoes/setup.rb

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ module Gem
66
if Shoes::RELEASE_TYPE =~ /TIGHT/
77
@ruby = (File.join(RbConfig::CONFIG['bindir'], 'shoes') + RbConfig::CONFIG['EXEEXT']).
88
sub(/.*\s.*/m, '"\&"') + " --ruby"
9-
debug "setting @ruby to #{@ruby}"
109
end
1110
end
1211
class << Gem::Ext::ExtConfBuilder

0 commit comments

Comments
 (0)