$ gem install getopt
Attempting local installation of ‘getopt’
Local gem file not found: getopt*.gem
Attempting remote installation of ‘getopt’
Successfully installed getopt-1.3.0
Installing RDoc documentation for getopt-1.3.0…
File not found: lib
$ ls /usr/local/lib/ruby/gems/1.8/gems/getopt-1.3.1
CHANGES MANIFEST README test
So it seems the lib subdir is not being created for some reason.
That’s weird. It looks like the gem file is broken for some reason (I
just
tried a local install). The only thing I changed was the version, from
1.3.0
to 1.3.1.