Problem when building with pthreads enabled
I have build ruby on MacOS X Snow Leopard (10.6.2) with pthreads enabled and the interpreter freezes when using the gem utility to install or upgrade gems.
To be more specific I have try to install in one shot rails, will_paginate and a few more gems but nothing happens. I have let the installation to complete for more than 12 hours.
Performing some more tests, the packages are installed successfully but when it comes to create the documentation ruby freezes.
Sometimes an installation can complete successfully.
In contrast, if ruby is configured with pthreads disabled everything works fine.
This behavior appeared in ruby 1.8.7 p248.