Sha256: d822d42cc6478a426bd04e04bbe255baea135aba13f4a9e399370d06dc4b34cb

Contents?: true

Size: 355 Bytes

Versions: 5

Compression:

Stored size: 355 Bytes

Contents

module IronWorkerNG
  module Code
    module Runtime
      module Binary
        include IronWorkerNG::Feature::Common::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

5 entries across 5 versions & 1 rubygems

Version Path
iron_worker_ng-0.11.2 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.11.1 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.11.0 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.10.4 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.10.3 lib/iron_worker_ng/code/runtime/binary.rb