Sha256: 59d83d1cfe697c2584566b836cc0758ad97d99fd57f3fc4f96c91e464fb4a184

Contents?: true

Size: 537 Bytes

Versions: 7

Compression:

Stored size: 537 Bytes

Contents

#!/usr/bin/env ruby

# inject ../../lib into the $LOAD_PATH, this is useful because
# when developing locally on a gem the, require paths will be
# different because the lib directory is not on the $LOAD_PATH

# since git directories are not included in gem releases we can
# determine if the gem is being actively developed by searching
# for a git repo
git_path = File.expand_path('../../.git', __FILE__)

if File.exist?(git_path)
  $LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
end

require 'orats/cli'
Orats::CLI.start

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
orats-5.2.0 bin/orats
orats-5.1.2 bin/orats
orats-5.1.1 bin/orats
orats-5.0.3 bin/orats
orats-5.0.2 bin/orats
orats-5.0.1 bin/orats
orats-5.0.0 bin/orats