I don't know why people advise others to splat their compiled 3rd party software all over /usr/local when /opt is there specifically for that purpose.
Also, enabling pthread on 1.8 has some significant performance problems unless you're using REE. For more reading on that:
http://timetobleed.com/fix-a-bug-in-rubys-configurein-and-ge...