From 8ae09706f37f64fe32503c2d48e41adb95836254 Mon Sep 17 00:00:00 2001 From: Brad Gessler Date: Tue, 8 Feb 2022 16:40:41 -0800 Subject: [rubygems/rubygems] Update README.md.tt Reduce the number of steps required to install a gem from two steps to one by using `bundle add` https://github.com/rubygems/rubygems/commit/2c968420cd --- lib/bundler/templates/newgem/README.md.tt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/lib/bundler/templates/newgem/README.md.tt b/lib/bundler/templates/newgem/README.md.tt index 8fd87abe9a..a60c7967ec 100644 --- a/lib/bundler/templates/newgem/README.md.tt +++ b/lib/bundler/templates/newgem/README.md.tt @@ -6,17 +6,11 @@ TODO: Delete this and the text above, and describe your gem ## Installation -Add this line to your application's Gemfile: +Install the gem and add to the application's Gemfile by executing: -```ruby -gem '<%= config[:name] %>' -``` + $ bundle add <%= config[:name] %> -And then execute: - - $ bundle install - -Or install it yourself as: +If bundler is not being used to manage dependencies, install the gem by executing: $ gem install <%= config[:name] %> -- cgit v1.2.3