Sha256: 3a3341e219d2a056e412610819f90dbca93640fd647dae5ea2d248751431b0bc
Contents?: true
Size: 629 Bytes
Versions: 7
Compression:
Stored size: 629 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/cli/commands/<%= @command_file %>' Ronin::UI::CLI::Commands::<%= @command_class %>.start
Version data entries
7 entries across 7 versions & 1 rubygems