Sha256: d7318954f7ef776e9a00f2fe07f54efdb5aa2bcad39d45bc8013616e5ca9d2f6
Contents?: true
Size: 582 Bytes
Versions: 10
Compression:
Stored size: 582 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/exec' Ronin::UI::CLI::Commands::Exec.start
Version data entries
10 entries across 10 versions & 1 rubygems