Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWIG Preventing Instiki From Starting #24

Closed
tricon opened this issue Nov 13, 2014 · 3 comments
Closed

SWIG Preventing Instiki From Starting #24

tricon opened this issue Nov 13, 2014 · 3 comments

Comments

@tricon
Copy link

tricon commented Nov 13, 2014

itextomml uses SWIG, which has an outstanding bug where it creates invalid Ruby constants. I am receiving this error when running ruby instiki with Ruby 2.1.4:

./vendor/rails/activesupport/lib/active_support/dependencies.rb:305:in `qualified_const_defined?': "swig_runtime_data" is not a valid constant name! (NameError)

Is there any workaround? Ruby 1.8.7 tolerates SWIG's invalid Ruby constants, but I run into other issues with Maruku. I don't need MML support, but Maruku relies upon itextomml.

@tricon
Copy link
Author

tricon commented Nov 13, 2014

1.9.3-p550 does work. Perhaps 2.1.x isn't supported at this time?

@distler
Copy link
Collaborator

distler commented Nov 14, 2014

Hmmm. Works fine on Ruby 2.1.0 (with Instiki trunk).

If you can, have you tried installing the Gem (gem install itextomml)? Do you get the same error?

@distler
Copy link
Collaborator

distler commented Aug 14, 2016

Hmmm. Seems to be very platform-dependent (not reproducible on MRI).

Should be fixed in itextomml 1.5.3.

@distler distler closed this as completed Aug 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants