Comments (7)
The regular gem install command does not compile the native extension:
rvm use jruby-1.7.0 gem install do_postgres Fetching: data_objects-0.10.10.gem (100%) Fetching: do_jdbc-0.10.10-java.gem (100%) Fetching: do_postgres-0.10.10-java.gem (100%) Successfully installed data_objects-0.10.10 Successfully installed do_jdbc-0.10.10-java Successfully installed do_postgres-0.10.10-java 3 gems installed
from do.
It seems like the Rakefile is broken under JRuby. The build
and install
tasks fail for me as well.
from do.
Yeah, using it under JRuby is not supported atm, since the build process works differently anyway. It's setup in such a way that you never need to build the gems yourself for JRuby, since we provide java versions of the gems.
from do.
Where can I find these java versions then? Sorry to be confused but I couldn't find them yet.
from do.
If you gem install under JRuby or use Bundler, it will pickup the java versions automatically.
from do.
Ah, but I have to download the gems because I'm behind some crazy restrictive firewall and a wonky connection. I guess they're somewhere on rubygems.org? OK, nevermind , I found them. It would still be nice if the build command worked also on Jruby, tough, so Ill leave this issue open for that, but feel free to close it if you think it's not essential.
from do.
Well, the build process is much more involved, I'd probably remove the JRuby specifics in the task. The build process needs to build regular extension gems and it cross compiles binaries for both Windows and Java. That whole process is automated so releasing is just a single command.
This uses rake-compiler's cross compilation capabilities which are tricky to combine with JRuby if you also provide a C extension last time I tried.
Closing this since I don't think this is essential, maybe I'll just remove it so it's clear that it doesn't work.
from do.
Related Issues (20)
- Usage of .my.cnf file in do_mysql HOT 1
- Fixnum deprecated after ruby 2.4
- postgres - precision lost when casting on double precision HOT 2
- do_postgres won't install with postgresql-9.3 on Ubuntu 13.10 HOT 15
- do_postgres relies on server header files HOT 2
- do_mysql should not automatically coerce tinyint(1) values into bools
- Installing do_postgres fails on OSX maverick and brew install postgresql
- do_postgres does work with rubyinstaller version 2.1 HOT 3
- do_mysql and do_postgres don't run in ruby 2.2 HOT 6
- do_sqlite3:0.10.14 - LoadError: "cannot load such file -- do_sqlite3/2.1/do_sqlite3" HOT 1
- do_postgres appears to be truncating timestamp smaller than seconds HOT 1
- Time is losing timezone from DB and assuming local time zone
- Case sensitive error message test
- do_jdbc not compatible with jruby-9000 HOT 1
- Sqlite3 doesn't handle sub-second time in jruby
- Does not work with MySQL 5.7 HOT 14
- UTF-8-MB4 issues HOT 1
- SQLite DB Connection String ASCII characters
- Configurable pooling
- [do_postgres] Returning ID when bigint fails at `atoi` HOT 5
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 do.