How to make installing Ruby easier for amateurs

Ezra Z.:

If you use this script you should change
line 27 to add the --disable-pthreads flag
./configure --disable-pthreads

Are you sure? ./configure scripts for all of ruby-1.8.6-p287,
ruby-1.8.7-p72 and ruby-1.9.1-preview2 say that --enable-pthread
is an optional feature. Both 1.8 versions sport this snippet:

Check whether --enable-pthread was given.

if test “${enable_pthread+set}” = set; then
enableval=$enable_pthread; enable_pthread=$enableval
else
enable_pthread=no
fi

…and both their ChangeLog files mention that the default
for --enable-pthread was changed to ‘no’ in November 2003.

1.9’s configure does indeed sport

Check whether --enable-pthread was given.

if test “${enable_pthread+set}” = set; then
enableval=$enable_pthread; enable_pthread=$enableval
else
enable_pthread=$enable_pthread_default
fi

…and enable_pthread_default is set to yes for non-MinGW builds, so
I guess the bottom line is: for future compatibility and just to be
sure, do indeed use --disable-pthread, but make sure it’s the singular
‘–disable-pthread’, not the plural ‘–disable-pthreads’.

– Shot