diff --git a/lib/compiler.rb b/lib/compiler.rb index e139119d2..708252560 100644 --- a/lib/compiler.rb +++ b/lib/compiler.rb @@ -76,13 +76,12 @@ def initialize(entrance, options = {}) @gem_package = nil @options = options @utils = Utils.new(options) + @gem_package = GemPackage.new(@entrance, @options, @utils) if @options[:gem] init_options init_entrance if entrance init_tmpdir - @gem_package = GemPackage.new(@entrance, @options, @utils) if @options[:gem] - log "Ruby Compiler (rubyc) v#{::Compiler::VERSION}" if entrance log "- entrance: #{@entrance}"