I want to read some ruby code. And I think this is the good place to start dig in. But I cant find it.
Asked
Active
Viewed 8,549 times
2 Answers
10
And the way to discover weppos's answer is to launch a Terminal, run irb and enter
$:
to find the library search path

glenn jackman
- 238,783
- 38
- 220
- 352
-
1I know this is old, but I found it, so I'd note that I'd do $:.each { |path| print path, "\n" } – Andrew Wonnacott Oct 22 '12 at 01:42
-
or use `puts` instead of `print` with a newline – glenn jackman Oct 22 '12 at 14:11
6
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby

Simone Carletti
- 173,507
- 49
- 363
- 364