bin/console in ddql-0.1.0 vs bin/console in ddql-1.0.0

- old
+ new

@@ -5,12 +5,17 @@ # 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. # (If you use this, don't forget to add pry to your Gemfile!) -require 'pry' + PARSER = DDQL::Parser.new -puts 'Create a new instance of the parser or use the PARSER constant' -Pry.start -# require "irb" -# IRB.start(__FILE__) +begin + require 'pry' + puts 'Create a new instance of the parser or use the PARSER constant' + Pry.start +rescue + require "irb" + puts 'Create a new instance of the parser or use the PARSER constant' + IRB.start(__FILE__) +end