Skip to content

Commit

Permalink
for #438 - minor help with gem building
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoupe committed Apr 17, 2019
1 parent e3696dc commit 130a8fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/shoes/cobbler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -451,10 +451,9 @@ def gem_install_one spec
# setup Gem download ui
ui = Gem::DefaultUserInteraction.ui = Gem::CobblerFace.new(@progbar, @status)
ui.title "Installing #{spec.name} #{spec.version}"
installer = Gem::DependencyInstaller.new
installer = Gem::DependencyInstaller.new({:nodoc => true, :install_dir => GEM_DIR})
begin
ENV['PATH'] = "/usr/local/bin:/usr/bin"
$stderr.puts "gem installer env: #{ENV['PATH']}"
#$stderr.puts "gem build setup: #{installer.options}"
installer.install(spec.name, spec.version)
spec.activate
gem_reset
Expand Down
1 change: 0 additions & 1 deletion lib/shoes/setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module Gem
if Shoes::RELEASE_TYPE =~ /TIGHT/
@ruby = (File.join(RbConfig::CONFIG['bindir'], 'shoes') + RbConfig::CONFIG['EXEEXT']).
sub(/.*\s.*/m, '"\&"') + " --ruby"
debug "setting @ruby to #{@ruby}"
end
end
class << Gem::Ext::ExtConfBuilder
Expand Down

0 comments on commit 130a8fc

Please sign in to comment.