Skip to content

Commit

Permalink
add more logging for the used binary
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Sep 24, 2013
1 parent 1f3ab4c commit e9827e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rubygems-bundler/noexec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ class Noexec
attr_reader :bin

def initialize(bin)
log "Bin used: #{bin}"
bin = bin.split(/ /)
@bin = File.basename(bin[1]||bin[0])
log "Bin calculated: #{@bin}"
end

def log(msg)
Expand Down

0 comments on commit e9827e8

Please sign in to comment.