Yury Kaspiarovich
Yury Kaspiarovich

Reputation: 2137

Where is the ruby standard library directory placed on a Mac?

I want to read some ruby code. And I think this is the good place to start dig in. But I cant find it.

Upvotes: 6

Views: 8603

Answers (2)

glenn jackman
glenn jackman

Reputation: 246847

And the way to discover weppos's answer is to launch a Terminal, run irb and enter

$:

to find the library search path

Upvotes: 10

Simone Carletti
Simone Carletti

Reputation: 176412

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby 

Upvotes: 6

Related Questions