Sha256: 351e445d0499688e8628e31573914cdb3671336f6a6ea914303f82064eb0cceb

Contents?: true

Size: 392 Bytes

Versions: 4

Compression:

Stored size: 392 Bytes

Contents

require_relative '../../feature/binary/merge_exec'

module IronWorkerNG
  module Code
    module Runtime
      module Binary
        include IronWorkerNG::Feature::Binary::MergeExec::InstanceMethods

        def runtime_run_code
          <<RUN_CODE
chmod +x #{File.basename(@exec.path)}

LD_LIBRARY_PATH=. ./#{File.basename(@exec.path)} "$@"
RUN_CODE
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iron_worker_ng-0.8.4 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.8.3 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.8.2 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.8.0 lib/iron_worker_ng/code/runtime/binary.rb