bin/ronin-gen in ronin-gen-1.0.1.rc1 vs bin/ronin-gen in ronin-gen-1.0.1

- old
+ new

@@ -8,12 +8,12 @@ require 'bundler' begin Bundler.setup(:default) rescue Bundler::BundlerError => e - STDERR.puts e.message - STDERR.puts "Run `bundle install` to install missing gems" + warn e.message + warn "Run `bundle install` to install missing gems" exit e.status_code end end end @@ -27,11 +27,11 @@ name = ARGV.shift begin Ronin::Gen.generator(name).start rescue Ronin::Gen::UnknownGenerator - STDERR.puts "ronin-gen: unknown generator #{name}" - STDERR.puts "ronin-gen: run 'ronin-gen' for a list of generators" + warn "ronin-gen: unknown generator #{name}" + warn "ronin-gen: run 'ronin-gen' for a list of generators" exit -1 end else Ronin::UI::CLI::Commands::Gen.start end