From 464a264cd42abecf4cfaa425ece42515e6c08509 Mon Sep 17 00:00:00 2001 From: Justin Searls Date: Mon, 20 Mar 2023 08:52:32 -0400 Subject: [PATCH] [rubygems/rubygems] Remove reference to `pry` gem from generated `bin/console` file This is just a suggestion, but since recent versions of Ruby have shipped with a `binding.irb` that provides almost all of the features that `pry` pioneered, it may be time to remove this suggestion in the name of simplicity and not confusing newer developers who aren't familiar with what to use. --- lib/bundler/templates/newgem/bin/console.tt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/bundler/templates/newgem/bin/console.tt b/lib/bundler/templates/newgem/bin/console.tt index 08dfaaef69..c91ee65f93 100644 --- a/lib/bundler/templates/newgem/bin/console.tt +++ b/lib/bundler/templates/newgem/bin/console.tt @@ -7,9 +7,5 @@ require "<%= config[:namespaced_path] %>" # 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" -# Pry.start - require "irb" IRB.start(__FILE__)