Sha256: a5d025ced610b944f80d496e9d3913a8214e19ca83dfb4f204f4dc52d2d1a478

Contents?: true

Size: 406 Bytes

Versions: 8

Compression:

Stored size: 406 Bytes

Contents

#!/usr/bin/env ruby

root = File.expand_path(File.join(File.dirname(__FILE__),'..'))
if File.directory?(File.join(root,'.git'))
  Dir.chdir(root) do
    begin
      require 'bundler/setup'
      require 'markov'
      require 'markov/cli'
      Markov::CLI.start(ARGV)
    rescue LoadError => e
      warn e.message
      warn "Run `gem install bundler` to install Bundler"
      exit -1
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
markov-rb-0.1.9 bin/markov
markov-rb-0.1.8 bin/markov
markov-rb-0.1.7 bin/markov
markov-rb-0.1.6 bin/markov
markov-rb-0.1.5 bin/markov
markov-rb-0.1.4 bin/markov
markov-rb-0.1.3 bin/markov
markov-rb-0.1.2 bin/markov