From: Joel VanderWerf Date: 2010-06-11T03:57:38+09:00 Subject: Re: How to Display ./configure options from compiled Ruby? Ken Stailey wrote: > Hi, > > With perl you can run "perl -V" to see the configuration options. > > Is there an equivalent for Ruby? I'd like to build a Ruby binary using > the same options as one that I have already. This seems to work for me (ruby 1.8.7): $ ruby -r rbconfig -e 'puts Config::CONFIG["configure_args"]' '--enable-pthread' 'CC=gcc-4.4'