Sha256: e0a65ee99e8eeee97568a4cd545b5c4eb20ad004ec550157304fcf7602e89eac

Contents?: true

Size: 253 Bytes

Versions: 12

Compression:

Stored size: 253 Bytes

Contents

module BenchmarkDriver
  module Rbenv
    def self.ruby_path(version)
      path = `RBENV_VERSION='#{version}' rbenv which ruby`.rstrip
      unless $?.success?
        abort "Failed to execute 'rbenv which ruby'"
      end
      path
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
benchmark_driver-0.10.8 lib/benchmark_driver/rbenv.rb
benchmark_driver-0.10.7 lib/benchmark_driver/rbenv.rb
benchmark_driver-0.10.6 lib/benchmark_driver/rbenv.rb
benchmark_driver-0.10.5 lib/benchmark_driver/rbenv.rb
benchmark_driver-0.10.4 lib/benchmark_driver/rbenv.rb
benchmark_driver-0.10.3 lib/benchmark_driver/rbenv.rb
benchmark_driver-0.10.2 lib/benchmark_driver/rbenv.rb
benchmark_driver-0.10.1 lib/benchmark_driver/rbenv.rb
benchmark_driver-0.10.0 lib/benchmark_driver/rbenv.rb
benchmark_driver-0.9.2 lib/benchmark_driver/rbenv.rb
benchmark_driver-0.9.1 lib/benchmark_driver/rbenv.rb
benchmark_driver-0.9.0 lib/benchmark_driver/rbenv.rb