Sha256: 4fd933a5cf2e82cce2bfce7d1e6016a038481b6d21cabbb9786eda6593c31282

Contents?: true

Size: 532 Bytes

Versions: 5

Compression:

Stored size: 532 Bytes

Contents

#!/usr/bin/env ruby
module AlfLauncher

  def self.lib
    File.expand_path('../../lib', __FILE__)
  end
  
  def self.load
    begin
      $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) 
      require "alf"
    rescue LoadError => ex
      require "rubygems"
      require "alf"
    end
  end
  
  def self.start(argv)
    load
    if ENV["ALF_OPTS"]
      argv = Quickl.parse_commandline_args(ENV["ALF_OPTS"]) + argv
    end
    Alf::Shell::Main.run(argv, __FILE__)
  end

end # module AlfLaucher
AlfLauncher.start(ARGV)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-0.12.2 bin/alf
alf-0.12.1 bin/alf
alf-0.12.0 bin/alf
alf-0.11.1 bin/alf
alf-0.11.0 bin/alf