tasks/console.rb in mtrack-1.1.1 vs tasks/console.rb in mtrack-2.0.0

- old
+ new

@@ -12,22 +12,14 @@ require "debugger" rescue LoadError # rubocop:disable Lint/HandleExceptions end end - if RUBY_VERSION >= "1.9" - begin - require "pry" - rescue LoadError - require "irb" - end - else - require "irb" - end - - if defined? Pry + begin + require "pry" Pry.start - else + rescue LoadError + require "irb" ARGV.clear IRB.start end end