> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/programmy/ruby/get-info-about-your-ruby-gems-environment.md).

# Get Info About Your RubyGems 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).
