Sha256: 670b85ab9e29e253a98e971090231cb776be62aa716ee51317b6ec3f356218c4

Contents?: true

Size: 535 Bytes

Versions: 3

Compression:

Stored size: 535 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)
  $:.unshift(File.expand_path('../../lib', __FILE__))
end

require 'orats/cli'
Orats::Orats.start(ARGV)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
orats-0.3.1 bin/orats
orats-0.3.0 bin/orats
orats-0.2.0 bin/orats