Sha256: dbbfedcd4ff600cb4d17060ffb4823fbf67d97432722a7c53052feb670b61474

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

#!/usr/bin/env ruby
def fallback_load_path(path)
  retried = false
  begin
    yield
  rescue LoadError
    unless retried
      $: << path
      retried = true
      retry
    end
    raise
  end
end

fallback_load_path(File.join(File.dirname(__FILE__), '..', 'lib')) do
  require 'capucine.rb'
end

Capucine::Commands.new ARGV

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capucine-0.0.4 bin/capucine