diff options
author | Brad Gessler <[email protected]> | 2022-02-08 16:40:41 -0800 |
---|---|---|
committer | git <[email protected]> | 2022-03-07 07:03:35 +0900 |
commit | 8ae09706f37f64fe32503c2d48e41adb95836254 (patch) | |
tree | e0a929de9a0c3ad104c3db91fa13890c0cfcdf23 /lib | |
parent | 3179efe6d180886f0252a03cb9c2f08aa7ad7809 (diff) |
[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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/templates/newgem/README.md.tt | 12 |
1 files 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] %> |