From: Jason Foreman Date: 2005-06-28T00:36:10+09:00 Subject: Re: PDF::Writer Boggles On 6/27/05, Brian McCallister wrote: > Neither Austin nor myself has been able to diagnose this one. > PDF::Writer is bombing on me in a new and confusing way. Austin > suggested I post here... > > When I try to generate the manual: > > [... snip ...] > > The system is OS X 10.4.1 with ruby 1.8.2 from the source tarball > (not using the built-in (broken) ruby). I'm using the gem install > > brianm@kite:~$ ruby -v > ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0.0] > brianm@kite:~$ uname -a > Darwin kite.local 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10 > 18:16:08 PDT 2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh > powerpc > > [... snip ...] > > No clue what is going on! > > Help? > > Thanks! > > -Brian > > Your ruby is hosed, or you aren't actually running under the version you compiled. I had a problem before where even though 'which ruby' showed /usr/local/bin/ruby, when I executed ruby it was still using the version in /usr/bin. What options did you give ./configure when you built ruby? Did you build readline first? Here is the output from my machine: legolas:~/Download/src/jruby jason$ uname -mpsrv Darwin 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10 18:16:08 PDT 2005; root:xnu -792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc legolas:~/Download/src/jruby jason$ ruby -v ruby 1.8.2 (2004-12-25) [powerpc-darwin8.1.0] legolas:~/Download/src/jruby jason$ which ruby /usr/local/bin/ruby legolas:~/Download/src/jruby jason$ /usr/bin/ruby -v ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] Notice my 'ruby -v' shows [powerpc-darwin8.1.0] whereas on your machine shows [powerpc-darwin8.0.0]. Better try building ruby again. Also make sure after you build ruby that you rebuild rubygems. I first had to close the active terminal window and open a new one for this to build correctly. Hope that helps, Jason