I’d like to get Ruby 1.9 working on OS X 10.5.6, but so far I get the
following error when trying to invoke any script:
$ ruby -v
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9.6.0]
$ ruby x.rb
ruby: negative string size (or size too big) (ArgumentError)
I tried two approaches to install ruby:
compiling with the following configure:
./configure --prefix=/Users/user1/dev/ruby19 --enable-shared --with-
Both yield the same result.
I couldn’t find similar case online, can anyone help?