Ruby compiles fine the first time after extracting, but repeating it
make distclean doesn’t work.
$ tar --extract --gzip --file ruby-1.9.3-p327.tar.gz
$ cd ruby-1.9.3-p327/
$ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &> my-config.log
$ make &> my-make.log
$ make distclean
$ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &>
$ diff my-config* && echo identical
$ make &> my-make2.log
From the difference, it looks like at least some generated files are not
make distclean - miniprelude.c being the first. Then ripper
is not configured. And last it seems that .ext/i686-linux/-test-/ and
subdirectories has been deleted but not regenerated.