Sha256: 80fe9fc9111faf45190e8e45b3dbff0bfb6ce1d4cdad41152a35f658eef7ed4f

Contents?: true

Size: 659 Bytes

Versions: 1

Compression:

Stored size: 659 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/console'
require 'ronin/ui/cli/commands/console'

Ronin::UI::Console.auto_load << 'ronin/web'
Ronin::UI::CLI::Commands::Console.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ronin-web-0.3.0.rc1 bin/ronin-web