1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add Get Info About Your RubyGems Environment as a ruby til

This commit is contained in:
jbranchaud
2019-05-18 14:47:28 -05:00
parent 53c96e73e0
commit 4a113d98d9
2 changed files with 16 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
For a steady stream of TILs from a variety of rocketeers, checkout
[til.hashrocket.com](https://til.hashrocket.com/).
_810 TILs and counting..._
_811 TILs and counting..._
---
@@ -632,6 +632,7 @@ _810 TILs and counting..._
- [Finding The Source of Ruby Methods](ruby/finding-the-source-of-ruby-methods.md)
- [Generate A Signed JWT Token](ruby/generate-a-signed-jwt-token.md)
- [Generate Ruby Version And Gemset Files With RVM](ruby/generate-ruby-version-and-gemset-files-with-rvm.md)
- [Get Info About Your RubyGems Environment](ruby/get-info-about-your-ruby-gems-environment.md)
- [Identify Outdated Gems](ruby/identify-outdated-gems.md)
- [If You Detect None](ruby/if-you-detect-none.md)
- [Ins And Outs Of Pry](ruby/ins-and-outs-of-pry.md)

View File

@@ -0,0 +1,14 @@
# Get Info About Your Ruby Gems Environment
Want to know what Ruby version is being used? Or into what directory gems are
being installed?
```bash
$ gem environment
```
This command will answer those questions and give you a whole host of other
information about your RubyGems environment.
There are more details in their
[documentation](https://guides.rubygems.org/command-reference/#gem-environment).