-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Requiring pg_array_parser causes LoadError #3601
Comments
the extension does not get loaded. replacing but I am not sure how this |
Thank you for the quick response. Do you have a way to do this bisection? Is there, for example, a Docker image, where all the build dependencies are installed and where |
indeed bisecting can be difficult when the SNAPSHOT dependencies are not already in the local maven repository as they disappear with the release of the dependency. not sure how to go about it but we do not have any Docker image :( |
believe this was never properly documented and it just might have been a side effect that such ext loading worked previously. and since its not working in 9K either I'm going to fire-up a PR asking for a new gem release with a fix. |
I have to agree with @kares that the usage pattern looks quite far away what we do with the new load-service on 9K that the better approach is to fix the gem to work with the latest 1.7.x and 9K versions. |
@kares, @mkristian, interesting. Unfortunately, I don’t know anything about that. I suppose the line causing the error is How does it need to be changed above? Is there a guide line? |
here it is: DavyJonesLocker/pg_array_parser#11 ... hopefully @DockYard will respond with a new version |
@kares, thank you very much! |
work-around to load current pg_array_parser (working on JRuby 1.7.22) : # work-around for require 'pg_array_parser' from gem <= 0.0.9
$LOADED_FEATURES << 'pgArrayParser/pg_array_parser_engine'
require 'pg_array_parser'
# ext loading require 'pgArrayParser/pg_array_parser_engine' replacement :
Java::pgarrayparser.PgArrayParserEngineService.new.basicLoad JRuby.runtime |
Closing because it doesn't seem to be our issue. |
Upgrading to JRuby 1.7.23, the following regression was observed.
The following fails with JRuby 1.7.23 but works with JRuby 1.7.19 (and 1.7.16.1).
The text was updated successfully, but these errors were encountered: