Sha256: 559b42db3ddc54291eced0d3e7f2a38072e07712909e6e44dd5958891a8d9036

Contents?: true

Size: 1.04 KB

Versions: 12

Compression:

Stored size: 1.04 KB

Contents

#!/usr/bin/env ruby
case
when File.exist?(file = File.join(__dir__, '../modules/rbbt-util/bin/rbbt'))
  $LOAD_PATH.unshift(lib_dir = File.join(file, '../..', 'lib'))
  require_relative File.join(lib_dir,'rbbt-util')
  Path.add_path(:rbbt, File.expand_path(File.join(File.dirname(lib_dir), "/{TOPLEVEL}/{SUBPATH}")))
  Path.default_pkgdir = Rbbt
  load file
when File.exist?(file = File.join(ENV["HOME"], 'git/scout-gear/modules/rbbt-util/bin/rbbt'))
  $LOAD_PATH.unshift(lib_dir = File.join(file, '../..', 'lib'))
  require_relative File.join(lib_dir,'rbbt-util')
  Path.add_path(:rbbt, File.expand_path(File.join(File.dirname(lib_dir), "/{TOPLEVEL}/{SUBPATH}")))
  Path.default_pkgdir = Rbbt
  load file
when File.exist?(file = File.join(ENV["HOME"], 'git/rbbt-util/bin/rbbt'))
  $LOAD_PATH.unshift(lib_dir = File.join(file, '../..', 'lib'))
  require_relative File.join(lib_dir,'rbbt-util')
  Path.add_path(:rbbt, File.expand_path(File.join(File.dirname(lib_dir), "/{TOPLEVEL}/{SUBPATH}")))
  Path.default_pkgdir = Rbbt
  load file
else
  raise "Cant find rbbt"
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
scout-gear-10.1.0 scout_commands/rbbt
scout-gear-10.0.1 scout_commands/rbbt
scout-gear-9.1.0 scout_commands/rbbt
scout-gear-9.0.0 scout_commands/rbbt
scout-gear-8.1.0 scout_commands/rbbt
scout-gear-8.0.0 scout_commands/rbbt
scout-gear-7.3.0 scout_commands/rbbt
scout-gear-7.2.0 scout_commands/rbbt
scout-gear-7.1.0 scout_commands/rbbt
scout-gear-6.0.0 scout_commands/rbbt
scout-gear-5.2.0 scout_commands/rbbt
scout-gear-5.1.1 scout_commands/rbbt