Search In This Website

Selasa, 15 Oktober 2024

How-to-check-version-of-ruby-gem

How To Shows Your Locally Installed Ruby Gems In Microsoft Windows

  1. open Command Prompt.
  2. type  gem list --local
  3. press Enter on keyboard.

Sample Output Of Shows Your Locally Installed Ruby Gems In Microsoft Windows

Step 2 Shows Your Locally Installed Ruby Gems In Microsoft Windows

Step 3 After you press press Enter on keyboard.

How To Shows Your ri Version In Microsoft Windows

  1. open Command Prompt.
  2. type  
    ri --version
    or
    ri -v
  3. press Enter on keyboard.

Sample Output Of Shows Your ri Version In Microsoft Windows

Step 2 and Step 3 Shows Your ri Version In Microsoft Windows

ri (ruby information) Viewing Ruby Documentation :

You can view the documentation for your installed gems with ri:
  1. open Command Prompt.
  2. type  ri Zlib
  3. press Enter on keyboard.

Sample Output Of ri (ruby information) Viewing Ruby Documentation

Step 2 ri (ruby information) Viewing Ruby Documentation

Step 3 after press Enter on keyboard

ri (ruby information) Viewing Ruby List Of Classes And Modules In Documentation :

  1. open Command Prompt.
  2. type  ri --list
  3. press Enter on keyboard.
Step 2 Viewing Ruby List Of Classes And Modules In Documentation

Step 3 after press Enter on keyboard



Notes: 
  • For Ruby Gem CLI ( Command Line Interface ) documentation, type: gem --help


  • Ruby command parameter is case sensitive
  • Zlib is just for example, you can change to other Ruby Gem.
  • To see the more clear picture, click on the picture
< to learn about check ruby version, click How To Check Your Ruby Version

Bibliography

https://guides.rubygems.org/
https://www.ruby-lang.org/

Related Post

Tidak ada komentar:

Posting Komentar