Sha256: 6f386fc45e64ad1c1dc67c6ba4e4f0e7c8309aaa307e5a0126e74cc312407a7b

Contents?: true

Size: 324 Bytes

Versions: 9

Compression:

Stored size: 324 Bytes

Contents

module ASIR
  ::RUBY_ENGINE = 'UNKNOWN'.freeze unless defined? ::RUBY_ENGINE
  def self.ruby_path
    @@ruby_path ||=
      begin
        require 'rbconfig'
        File.join(RbConfig::CONFIG["bindir"],
             RbConfig::CONFIG["RUBY_INSTALL_NAME"] +
             RbConfig::CONFIG["EXEEXT"]).freeze
      end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
asir-1.2.11 lib/asir/system.rb
asir-1.2.10 lib/asir/system.rb
asir-1.2.9 lib/asir/system.rb
asir-1.2.8 lib/asir/system.rb
asir-1.2.7 lib/asir/system.rb
asir-1.2.6 lib/asir/system.rb
asir-1.2.5 lib/asir/system.rb
asir-1.2.3 lib/asir/system.rb
asir-1.2.2 lib/asir/system.rb