Sha256: 1dd2dd2eb8dec9d46543f2a7c9e4dc2125bd30b40992593cce3af4f7dd7de0e6

Contents?: true

Size: 604 Bytes

Versions: 7

Compression:

Stored size: 604 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'

root_dir = File.expand_path(File.join(File.dirname(__FILE__),'..'))
if File.directory?(File.join(root_dir,'.git'))
  Dir.chdir(root_dir) do |path|
    require 'bundler'

    begin
      Bundler.setup(:default)
    rescue Bundler::BundlerError => e
      warn e.message
      warn "Run `bundle install` to install missing gems"
      exit e.status_code
    end
  end
end

lib_dir = File.join(root_dir,'lib')
$LOAD_PATH << lib_dir unless $LOAD_PATH.include?(lib_dir)

require 'ronin/gen/gen'
require 'ronin/ui/cli/commands/gen'

Ronin::UI::CLI::Commands::Gen.start

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ronin-gen-1.2.0 bin/ronin-gen
ronin-gen-1.2.0.rc2 bin/ronin-gen
ronin-gen-1.2.0.rc1 bin/ronin-gen
ronin-gen-1.1.1 bin/ronin-gen
ronin-gen-1.1.0 bin/ronin-gen
ronin-gen-1.1.0.rc2 bin/ronin-gen
ronin-gen-1.1.0.rc1 bin/ronin-gen