Comments (8)
Yeah, this is kinda why we'd really like to get jruby-pg rolled into the pg gem, so that dependencies are just resolved as normal.
from jruby-pg.
I just filed this, so hopefully sometime soon we might be able to get a -java version of the pg gem: https://bitbucket.org/ged/ruby-pg/issue/177/incorporate-jruby-version-of-pg-gem-for-a
In the short term, one thing you could do to help us would be to clone jruby-pg and modify it to produce a pg-####-java.gem instead of jruby-pg-####-java.gem. That should allow your dependencies to resolve and you can see if it works.
from jruby-pg.
I was able to get the dependencies to work by changing:
Gem::Specification.new do |s|
- s.name = "pg_jruby"
+ s.name = "pg"
I'm also working on some other fixes to make this compatible with Discourse, which I'll probably submit in a separate pull request.
Thanks!
from jruby-pg.
@dwbutler That works too! Thanks for giving this a try. We'd really like to prove the jruby-pg library is ready (or close to ready) for inclusion into the standard pg gem, and the best way to do that (other than running test cases, which @jvshahid has done a lot of) is getting real users trying it out.
This issue isn't really a bug in jruby-pg per se, but we'll leave it open as a placeholder for getting jruby-pg merged into ruby-pg.
from jruby-pg.
I'm working on making the gem compatible with version 0.16 of the C pg gem. I'm getting very close to implementing all the new features. As soon as this is done, I'll open a pull request in https://github.com/ged/ruby-pg?source=c to merge my changes.
from jruby-pg.
See ged/ruby-pg#1
from jruby-pg.
I run into this problem now, after having seen the announcement of JRuby 9000 and tried to run a Rails 4.2 application with it. I could fork the gem and apply the patch from @dwbutler but haven't been any progresses since December 2013?
from jruby-pg.
from jruby-pg.
Related Issues (20)
- Java::JavaLang::NullPointerException when booting app HOT 14
- NameError: uninitialized constant PG::ConnectionBad HOT 1
- InvalidSqlStatementName exception HOT 2
- PG::Error: Connection refused w/ pg_jruby-0.14.1.rc2 HOT 8
- Wrong info in README HOT 1
- How to use with Rails? HOT 15
- NameError: uninitialized constant PG -- basic require HOT 1
- pg 0.18 compatibility HOT 13
- What is the purpose of this project? HOT 5
- Unclear bundler instructions HOT 2
- Rails migration failure - Java::JavaLang::NoSuchMethodError: org.jruby.RubyEncoding.newEncoding HOT 5
- System db fault in pg connection driver when use group/by HOT 7
- System db fault in pg connection driver when use regexp match HOT 1
- java.lang.NoSuchMethodError: org.jruby.RubyEncoding.newEncoding HOT 7
- Release new stable version HOT 5
- Recompile .jar?
- Terminating a connection result in Encoding error and indefinite block statement. HOT 7
- ps HOT 1
- "Java::JavaLang::IllegalArgumentException: Unexpected message NoticeResponse" error with PostgreSQL 9.6.8
- Cannot connect using an URI HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jruby-pg.