Sha256: a30b3b06b20801c84a0a76b9fbf8114ba633b10be7d3e7bbf73cdd0215ea0afa

Contents?: true

Size: 533 Bytes

Versions: 21

Compression:

Stored size: 533 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::CLI.start(ARGV)

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
orats-0.3.2 bin/orats