Where is the standard ruby ​​library directory on Mac?

I want to read some ruby ​​code. And I think this is a good place to start digging. But I can not find it.

+5
source share
2 answers

And the way to detect the Weppos response is to start the terminal, start irb and enter

$:

to find the library search path

+7
source
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby 
+6
source

All Articles