# Ruby 1.9 on MacOS X 10.5.2

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-on-macos-x-10-5-2/134650>\
**Category:** Development\
**Created:** [April 13, 2008, 1:10pm UTC](https://www.ruby-forum.com/t/ruby-1-9-on-macos-x-10-5-2/134650 "2008-04-13T13:10:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Masaru\_Sato](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/51bf81/32.png) [@Masaru\_Sato](https://www.ruby-forum.com/u/Masaru_Sato)\
**Post date:** [April 13, 2008, 1:10pm UTC](https://www.ruby-forum.com/t/ruby-1-9-on-macos-x-10-5-2/134650/1 "2008-04-13T13:10:28Z")

</div>

e$B$5$H$&$H$$$$$^$9!#e(B

Intel CPU + MacOS X 10.5.2 Leopard + XQuartz 2.1.4 e$B$N4D6-$Ge(B

marphy03:~ marphy$ ruby19 --version  
ruby 1.9.0 (2008-04-13 revision 15990) [i686-darwin9.2.2]

e$B$J$N$G$9$,e(B make test e$B$K\<:GT$7$F$7$^$$$^$9!#e(B  
e$B$3$s$J46$8$Ge(B build e$B$7$F$$$^$9!#e(B

* * *

#!/bin/sh

srcpath=“/Users/marphy/src/ruby”

cd $srcpath/trunk  
rm -rf revision.h

cd $srcpath  
svn co [http://svn.ruby-lang.org/repos/ruby/trunk](http://svn.ruby-lang.org/repos/ruby/trunk)

cd $srcpath/trunk

autoconf  
automake

make clean

./configure   
–prefix=/usr/local   
–program-suffix=19   
–enable-shared   
–enable-pthread

## make make test

e$B%(%i!\<$O$3$s$J46$8$G$9!#e(B

* * *

sample/test.rb:assignment  
…  
…  
…  
…  
…  
sample/test.rb:condition …  
sample/test.rb:if/unless …  
sample/test.rb:case …  
sample/test.rb:while/until …  
sample/test.rb:exception …  
sample/test.rb:array …  
sample/test.rb:hash …  
sample/test.rb:iterator  
…  
…  
sample/test.rb:float  
…  
…  
sample/test.rb:bignum …  
sample/test.rb:string & char  
…  
…  
sample/test.rb:assignment …  
sample/test.rb:call …  
sample/test.rb:proc …  
sample/test.rb:signal FF  
sample/test.rb:eval …  
sample/test.rb:system ./sample/test.rb:1683:in `block in <main>': Interrupt (Run timeError) from ./sample/test.rb:1814:in ``' from ./sample/test.rb:1814:in `’  
not ok signal 1 – ./sample/test.rb:1681:in `<main>' not ok signal 2 -- ./sample/test.rb:1692:in `’  
test failed  
make: \*\*\* [test-sample] Error 1
