Sha256: 8a0b22241ebc6bcf49369343a4da5c1fdf2b806ee9ebca7ba37e87c4a33b8fc2

Contents?: true

Size: 686 Bytes

Versions: 7

Compression:

Stored size: 686 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
      STDERR.puts e.message
      STDERR.puts "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/<%= @dir_name %>'
Ronin::UI::CLI::Commands::Console.start

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ronin-gen-1.0.1.rc1 data/ronin/gen/library/bin/ronin-name.erb
ronin-gen-1.0.0 data/ronin/gen/library/bin/ronin-name.erb
ronin-gen-1.0.0.rc2 data/ronin/gen/library/bin/ronin-name.erb
ronin-gen-1.0.0.rc1 data/ronin/gen/library/bin/ronin-name.erb
ronin-gen-1.0.0.pre3 data/ronin/gen/library/bin/ronin-name.erb
ronin-gen-1.0.0.pre2 data/ronin/gen/library/bin/ronin-name.erb
ronin-gen-1.0.0.pre1 data/ronin/gen/library/bin/ronin-name.erb