Data dodania Pytanie
2017-01-23 20:01 Upgrading jRuby from 1.7 to 9.0.5 »
After updating jRuby from 1.7.13 to 9.0.5.0 weird stuff started to happen in my project. Here's simple code: if current_school.schoolyears.any? # d...
(0) odpowiedzi
2017-01-23 15:01 Cannot install gem march_hare »
I tried adding this to my Gemfile: gem 'march_hare', '~> 2.22' Using bundle install I got this message: Could not find gem 'march_hare (~> 2...
(1) odpowiedzi
2017-01-23 00:01 Rack::Deflater works if only added to config.ru »
Why am I getting Error: incorrect header check when I add class Application < Rails::Application config.middleware.use Rack::Deflater ... .....
(0) odpowiedzi
2017-01-21 13:01 Why does truffleruby need C extensions? »
Current status of truffleruby says: TruffleRuby is progressing fast but is currently probably not ready for you to try running your full Ruby appl...
(2) odpowiedzi
2017-01-20 14:01 Where is in VERTX $VERTX_HOME/conf/langs.properties config location? »
I can not find where to place language properties config with VERTX I want to run Rack with Vertx (for rails): here https://github.com/isaiah/jubile...
(0) odpowiedzi
2017-01-20 03:01 How can I tell jruby-jars to use a patched version of JRuby? »
In my rather unique application needs, I've had to make a patch to JRuby-1.7.26. However, I've learned that Warbler (that uses jruby-jars) embeds it...
(1) odpowiedzi
2017-01-18 15:01 gem install bundler errors -- RHEL6 »
I am having two problems installing a ruby gem "bundler" on RHEL6. Below is a snapshot of the errors I am getting. The highlighted vim command just co...
(0) odpowiedzi
2017-01-17 11:01 Extracting images from video in JRuby-1.7.13 »
I want to extract images from a m4v video sent from mobile to my rails server. These images will be later used for face recognization purposes. There ...
(0) odpowiedzi
2017-01-17 08:01 Unable to install the Jruby bundle in Fedora »
jruby -S gem install bundler When I run this command I am getting the following exception [root@localhost logstash-input-dynamodb]# jruby -S gem ins...
(0) odpowiedzi
2017-01-11 09:01 Server handler not found (warbler, winstone,jruby,sinatra) »
I am trying to create war file from my simple jruby app. when I run bundle exec rackup everything works fine and i can connect to it at localhost...
(0) odpowiedzi
2017-01-10 21:01 Rails Custom Authentication with internal jar security »
Our company uses a jar file with java code to authenticate users for access to internal websites. I have so far been able to integrate that jar file ...
(1) odpowiedzi
2017-01-04 15:01 JRuby error loading private key with jruby-openssl in bouncycastle »
I'm trying to sign emails sent by my application with an s/mime certificate. The application uses JRuby 1.7.26 and the newest version of the jruby-ope...
(0) odpowiedzi
2017-01-04 10:01 Slow JRuby performance when running Ruby scripts from Java »
I'm using JRuby to run some Ruby scripts from Java and collect the results. Everything works fine, but performance is unacceptably slow - while execut...
(0) odpowiedzi
2016-12-25 06:12 How to run warbler (jruby on rails) on different port rather than 8080 »
I created a war file named my_sample.war and run java -jar my_sample.war . It runs at port 8080 as default value. What do I do to change it to port 30...
(1) odpowiedzi
2016-12-23 13:12 Migration in rails 5 with jruby »
I create a database via rake task successfully. But I have a problem while migrating my migration files for models. I always get the following problem...
(0) odpowiedzi
2016-12-22 13:12 Why is the behaviour of begin-next-end different in ruby and jruby? »
Compare the following scenarios (they are the same, but the outcome is different): First I'll do it on ruby (cruby) ~> irb irb(main):001:0> be...
(2) odpowiedzi
2016-12-22 10:12 hava_header from mkmf throws an error in Jruby »
I have this test code : require 'mkmf' puts have_header("iostream.h") this code throws an error in Jruby like this : checking for iostream.h...
(0) odpowiedzi
2016-12-20 15:12 How to release large Ruby Gem? »
I´m finishing a Ruby Gem that depends on Chromium (jxBrowser). Chromium is quite large and has versions for linux, mac and windows. Releasing this ...
(1) odpowiedzi
2016-12-18 23:12 How to extract data tables trapped in scanned pdf »
I have data tables trapped in scanned PDFs. I want to extract these tables into CSV files. Something similar to tabula in jruby is preferred. ...
(0) odpowiedzi
2016-12-14 11:12 TypeError when using write_smime in jruby »
I'm trying to sign an email with the openssl library of jruby 1.7.26 and get the error "TypeError: nil is not a string". Here is my test script: req...
(0) odpowiedzi
2016-12-13 06:12 Why Ruby outputs [[:rest]] when the parameter method is called on String objects? »
I was playing around on jruby irb and came across this phenomenon where the parameter method returns [[:rest]] when its invoked on a string method. Th...
(1) odpowiedzi
2016-12-11 23:12 How to avoid "cannot load Java class oracle.jdbc.OracleDriver" in a JRuby Gradle project? »
When trying to include the Oracle JDBC driver (ojdbc7.jar) in my JRuby Gradle project, I always get a "cannot load Java class oracle.jdbc.OracleDriver...
(0) odpowiedzi
2016-12-10 19:12 Installing jruby bundler throws out of bound exception »
I am following this path to install Logtash: https://github.com/awslabs/logstash-input-dynamodb And when I get to installing the bundler, I get the fo...
(0) odpowiedzi
2016-12-10 17:12 Could not find a valid gem (saxon-xslt) »
I'm trying to install a gem, which definitely exists: $ gem install saxon-xslt ERROR: Could not find a valid gem 'saxon-xslt' (>= 0) in any repos...
(0) odpowiedzi
2016-12-08 09:12 Generate war file using warbler »
I am trying to generate war file using warbler for jruby, but i got stuck and i am getting this error: warble aborted! NoMethodError: undefined metho...
(1) odpowiedzi
2016-12-07 15:12 Jruby Rails: Java::JavaLang::OutOfMemoryError: Java heap space error while compiling assets »
I am on jruby and rails. i am trying to precompile my assets but its giving me below error. rake aborted! Java::JavaLang::OutOfMemoryError: Java heap...
(1) odpowiedzi
2016-12-03 01:12 How to check if an element in an array exists in another array »
I have two different arrays of strings, array1 and array2, in which I want to find out if the elements in array1 also exist in array2 without modifyin...
(3) odpowiedzi
2016-12-01 08:12 Modifying JRuby: How can I access if node at runtime? »
For my masters thesis, I am planning to do dynamic information flow analysis in JRuby. In JRuby, I want to access if node, then body and else body at ...
(0) odpowiedzi
2016-11-21 22:11 Net-SSH Gem Unable to Sign in Using jruby-pageant public key »
I am unable to use public key authentication through JRuby 1.7.24 using net-ssh 2.9.2 and jruby-pageant 1.1.1 A call to Net::SSH.start(@server, @use...
(0) odpowiedzi
2016-11-18 18:11 @JSAccessible does not work with JRuby objects? »
I use JRuby with jxBrowser. I´ve just upgraded to version 6.8 and my application stopped working. I think the problem comes with the new @JSAccessi...
(1) odpowiedzi
2016-11-16 22:11 Why jruby JVM takes forever to load when using jruby-9.1.1.0 and rspec? »
I am doing some modifications in the logstash-translate plugin and writing some tests in the process. I am not used to use java virtual machine to pro...
(1) odpowiedzi
2016-11-11 20:11 Rails (jruby 9.0.5.0): java.lang.IllegalAccessException: Can not set static final boolean field java »
I develop engine for site. Everything was working fine, but one day this bug appeared (see quote). I tried to: use java 8 oracle and java open jdk...
(0) odpowiedzi
2016-11-10 16:11 Error response from daemon: 400 Bad Request: malformed Host header »
I am trying to consume messages from a Kafka queue. But it returns: 400 Bad request error: malformed host header. It seems like none of the Dock...
(0) odpowiedzi
2016-11-10 14:11 Performance difference between MRI Ruby and jRuby »
While doing some benchmarking to answer this question about the fastest way to concatenate arrays I was surprised that when I did the same benchmarks ...
(2) odpowiedzi
2016-11-08 00:11 Unable to rake db:create with gem pg_jruby »
I'm trying to setup a postgres db with jruby using pg_jruby. When i run 'rake:db create' I get an error saying C:/jruby-9.1.5.0/lib/ruby/gems/shared...
(0) odpowiedzi