Sha256: 40925ac7f6059dd5502552f9eaa1b4b6d93d414d3844caa42828a83a0fa49f8a

Contents?: true

Size: 605 Bytes

Versions: 10

Compression:

Stored size: 605 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'
require 'orats/argv_adjust'

argv = Orats::ARGVAdjust.new.init
Orats::CLI.start(argv)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
orats-0.9.7 bin/orats
orats-0.9.6 bin/orats
orats-0.9.5 bin/orats
orats-0.9.4 bin/orats
orats-0.9.3 bin/orats
orats-0.9.2 bin/orats
orats-0.9.1 bin/orats
orats-0.9.0 bin/orats
orats-0.8.1 bin/orats
orats-0.8.0 bin/orats