Sha256: cd34c6c7ecb3d1668d27c9f2f6ed9e6f75f3dab9c670235da2cb21aecb7bffc3

Contents?: true

Size: 327 Bytes

Versions: 3

Compression:

Stored size: 327 Bytes

Contents

require 'aruba/api'
require 'fileutils'

module Aruba
  module Api

    # override aruba avoid 'current_ruby' call and make sure
    # that binary run on Win32 without the binstubs
    def detect_ruby(cmd)
      wrapper = which('repo')
      cmd = cmd.gsub(/^repo/, "ruby -S #{wrapper}") if wrapper
      cmd
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
repo_manager-0.7.3 examples/pc_saved_game_backup/repo_manager/features/support/aruba.rb
repo_manager-0.7.2 examples/pc_saved_game_backup/repo_manager/features/support/aruba.rb
repo_manager-0.7.1 examples/pc_saved_game_backup/repo_manager/features/support/aruba.rb