Opened 13 years ago
Closed 13 years ago
#3999 closed defect (fixed)
Fix Ruby Bindings for Ruby 1.9.2
Reported by: | jimk | Owned by: | jimk |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | RubyBindings | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: | cfis |
Description
Update the ruby bindings so they compile with Ruby 1.9.2 and 1.8.7.
Attachments (1)
Change History (4)
comment:1 by , 13 years ago
Status: | new → assigned |
---|
comment:2 by , 13 years ago
Jim,
I have applied your patch in trunk (r21964). I have also removed the old generated bindings from svn for now (r21965). I would be happy to backport to 1.8 branch once there is a bit of other testing. Perhaps you could drop a notice to the gdal-dev mailing list and update http://trac.osgeo.org/gdal/wiki/GdalOgrInRuby with any special information on swig versions needed and such.
I have also made you the default assignee for ruby bugs.
Thanks!
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Improve mac build support (r21967).
by , 13 years ago
Attachment: | ruby-tests.patch added |
---|
Fixes some of the ruby tests. Mostly fixes names of methods and constants. It can be applied with patch -p0 in ./autotest
Note: Ruby 1.9 bindings don't work with SWIG 1.3.x, Use SWIG 2 instead. (With SWIG 1.3 and Ruby 1.9 there is a compile error about missing STR2CSTR).