GNOME Bugzilla – Bug 705047
create-reference.rb still not working on old ruby
Last modified: 2013-07-28 21:53:11 UTC
https://git.gnome.org/browse/gegl/commit/tools/create-reference.rb?id=809642a08787638d9682149de25d36ee273902ff committed to fix Bug #673523 does not seem to be sufficient. I have ruby1.8.7 (via OS X 10.8), and building gegl fails: ../tools/create-reference.rb:9: uninitialized constant Encoding (NameError) But a colleague told me the program runs with ruby2.0.0. Looks like the RUBY_VERSION test is broken (the match is not being negated properly): $ ruby -e 'if RUBY_VERSION != /^1.8/; print(RUBY_VERSION," does not match\n"); end' 1.8.7 does not match
Nevermind...pulled the wrong patch (FreeBSD has a different solution). Git master is indeed working on 1.8.7