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.
Thanks,
Ken
···
--
Posted via http://www.ruby-forum.com/.
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'
Thanks very much Joel VanderWerf
···
--
Posted via http://www.ruby-forum.com/.