Sha256: d1e5d47535ecc4590028989659c0c9957df64c1cf8d16af2430e22addfa29aa3

Contents?: true

Size: 407 Bytes

Versions: 9

Compression:

Stored size: 407 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(local = false)
          <<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

9 entries across 9 versions & 1 rubygems

Version Path
iron_worker_ng-0.10.2 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.10.1 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.10.0 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.9.6 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.9.5 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.9.4 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.9.2 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.9.1 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.9.0 lib/iron_worker_ng/code/runtime/binary.rb