How to look at the gem code

I have a Gem that I found in RubyForge and want to look inside to see what code it contains. Is it possible to do this without installing Gem on my system?

Also, if I use RVM on Mac OS X, will that even change the way I install my gems (if I have one gemset)?

+3
source share
3 answers

Gems on RubyGems usually have a link to the source code (most often on GitHub ), in which case you can easily view the code (I use this A LOT).

A home page link also tends to link to the repository.

, GitHub (, , , ).

Edit

, Rubyforge. RubyGems. ( , - 7-zip).

+3

gem unpack .

+7

, . , , - .

; http://rubygems.org " ".

In the case of RubyForge, you can find the links under the SCM link in the menu.

+1
source

All Articles