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
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] %>