bin/console in metacrunch-mab2-1.1.2 vs bin/console in metacrunch-mab2-1.2.0
- old
+ new
@@ -1,11 +1,14 @@
#!/usr/bin/env ruby
-
require "bundler/setup"
-require "metacrunch/mab2"
+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