bin/console in metacrunch-2.2.3 vs bin/console in metacrunch-3.0.0

- old
+ new

@@ -1,11 +1,14 @@ #!/usr/bin/env ruby - require "bundler/setup" require "metacrunch" -# You can add fixtures and/or initialization code here to make experimenting -# with your gem easier. You can also use a different console, if you like. +begin + require "pry" +rescue LoadError ; end -# (If you use this, don't forget to add pry to your Gemfile!) -require "pry" -Pry.start +if defined?(Pry) + Pry.start +else + require "irb" + IRB.start +end