[geos-devel] SWIG Ruby bindings on OS X

raffi raffi.krikorian at gmail.com
Sat Dec 12 11:46:58 EST 2009


has anybody had any luck, recently, getting the ruby OS X bindings to work
and install?

i've tried both checking out from SVN, and the geos-3.2.0rc4.tar.bz2 tarball
-- when configuring with

./configure --enable-ruby

it clearly wants to create ruby bindings, and they even are existent
in /Library/Ruby/Site/1.8/universal-darwin9.0/:

[raffi at tw-mbp13-raffi swig]$  ls -l
/Library/Ruby/Site/1.8/universal-darwin9.0/geos.*
-rw-r--r--  1 root  admin  355768 Dec 12 08:45
/Library/Ruby/Site/1.8/universal-darwin9.0/geos.a
-rwxr-xr-x  1 root  admin    1044 Dec 12 08:45
/Library/Ruby/Site/1.8/universal-darwin9.0/geos.la
-rwxr-xr-x  1 root  admin  124932 Dec 12 08:45
/Library/Ruby/Site/1.8/universal-darwin9.0/geos.so

but when i try to actually require it

raffi at tw-mbp13-raffi ~]$ irb
>> require 'geos'
LoadError: no such file to load -- geos
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from (irb):1

anybody have any suggestions?  i'm running 10.5.

thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20091212/c42c101c/attachment.html


More information about the geos-devel mailing list