From: Ezra Zygmuntowicz Date: 2008-12-23T02:06:39+09:00 Subject: Re: how to make installing Ruby easier for amateurs On Dec 22, 2008, at 12:05 AM, James Britt wrote: > Tom Cloyd wrote: >> Greetings! >> As an amateur, and intermittent, programmer, I often run right off >> the edge of what I know. Sometimes this seems utterly needless. >> Here's one such case: >> In the past year I've switched from WindowsXP to Kubuntu Linux. >> I've had to reload the operating system maybe four times, plus two >> more due to acquiring a USB hard drive (now my primary drive), and >> now setting my up Kubuntu to run from a flash drive. I have to >> reinstall Ruby each time, of course. And....EACH TIME I RUN INTO >> THE SAME STUPID PROBLEM, as exemplified by my experience yesterday: >> I install Ruby 1.8 (yesterday, it was 1.8.7, of course) using >> either apt-get or the Adept package manager. Then I install >> Rubygems with apt-get (it's not in Adept's sources, apparently). >> Ready to GO? You would think so. Naively, I always do. But it's not >> to be. Now the madness starts, and this is what I want fixed. > > > http://github.com/thewoolleyman/cinabox/tree/master/bootstrap_ruby.sh If you use this script you should change line 27 to add the --disable- pthreads flag ./configure --disable-pthreads This can cause a 20-100% speed up on the interpreter as long as you don't need to use tk. Cheers- Ezra Zygmuntowicz ez@engineyard.com