summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJustin Searls <searls@gmail.com>2023-03-20 08:52:32 -0400
committergit <svn-admin@ruby-lang.org>2023-03-22 08:32:03 +0000
commit464a264cd42abecf4cfaa425ece42515e6c08509 (patch)
tree7abd3bc89004a2b441d06eca5bb4b3dd7643554e /lib
parent43d20596b8fefadc309348448352bf13615129c6 (diff)
[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.
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/templates/newgem/bin/console.tt4
1 files changed, 0 insertions, 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__)