Sha256: 50114f955ec5567b3036ba3ec2fddb511d0f1f3cbb40f9f5d94e7bfc6ed6ad48
Contents?: true
Size: 672 Bytes
Versions: 8
Compression:
Stored size: 672 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/<%= @dir_name %>' Ronin::UI::CLI::Commands::Console.start
Version data entries
8 entries across 8 versions & 1 rubygems