After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705047 - create-reference.rb still not working on old ruby
create-reference.rb still not working on old ruby
Status: RESOLVED OBSOLETE
Product: GEGL
Classification: Other
Component: build
git master
Other Mac OS
: Normal normal
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2013-07-28 21:33 UTC by Daniel Macks
Modified: 2013-07-28 21:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Macks 2013-07-28 21:33:54 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
Comment 1 Daniel Macks 2013-07-28 21:53:11 UTC
Nevermind...pulled the wrong patch (FreeBSD has a different solution). Git master is indeed working on 1.8.7