Sha256: 5c740c465ec17591e0e88e7774dd896a9e1f045f5f9304ffda9c02ba1719272a

Contents?: true

Size: 584 Bytes

Versions: 10

Compression:

Stored size: 584 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/ui/cli/commands/hosts'

Ronin::UI::CLI::Commands::Hosts.start

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ronin-1.5.0 bin/ronin-hosts
ronin-1.5.0.rc2 bin/ronin-hosts
ronin-1.5.0.rc1 bin/ronin-hosts
ronin-1.4.1 bin/ronin-hosts
ronin-1.4.0 bin/ronin-hosts
ronin-1.4.0.rc2 bin/ronin-hosts
ronin-1.4.0.rc1 bin/ronin-hosts
ronin-1.3.0 bin/ronin-hosts
ronin-1.2.0 bin/ronin-hosts
ronin-1.1.0 bin/ronin-hosts