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:
parent
3179efe6d1
commit
8ae09706f3
1 changed files with 3 additions and 9 deletions
|
@ -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] %>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue