-
Notifications
You must be signed in to change notification settings - Fork 64
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
Jruby support? #15
Comments
The thing is, I don't have a JRuby env to test the gem, but I believe it could work with a JDBC adapter and some tweaks in the code. Beware that I use some methods of the pg raw interface, that's why there is a dependency. But If you want to do this and send me a PR I'll gladly merge it ;) |
Not able to do a full PR for you at this time, but here's some code that Worked For Me:
If you want to have a crack at integrating this into the gem, setting up a jruby env is trivial - |
@themasterchef I am doing but getting following error: Java::OrgPostgresqlUtil::PSQLException: ERROR: syntax error at or near "" |
JRuby support will require some major refactoring. The current code is too brittle to accept different database drivers. |
When I tried to use this gem on Jruby 1.7.10 I got the following error, basically it looks like this gem has a hard requirement on the MRI / cruby 'pg' gem at the moment. Could this be fixed to support running on Jruby?
The text was updated successfully, but these errors were encountered: