1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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`

2c968420cd
This commit is contained in:
Brad Gessler 2022-02-08 16:40:41 -08:00 committed by git
parent 3179efe6d1
commit 8ae09706f3

View file

@ -6,17 +6,11 @@ TODO: Delete this and the text above, and describe your gem
## Installation ## Installation
Add this line to your application's Gemfile: Install the gem and add to the application's Gemfile by executing:
```ruby $ bundle add <%= config[:name] %>
gem '<%= config[:name] %>'
```
And then execute: If bundler is not being used to manage dependencies, install the gem by executing:
$ bundle install
Or install it yourself as:
$ gem install <%= config[:name] %> $ gem install <%= config[:name] %>