Data dodania Pytanie
2017-02-17 16:02 Issues writing text file to IFS though jt400 »
All I'm trying to do is to drop a log on IFS Here is my code: def write(target_filename, data) stream = com.ibm.as400.access.IFSFileOutputStre...
(0) odpowiedzi
2017-02-17 02:02 How to suppress HBase Shell warning message in JRuby? »
I need to perform some hbase commands using JRuby. In the following example I am trying to pass disable 'tab_name' command in hbase shell. The command...
(0) odpowiedzi
2017-02-16 21:02 How to setExceptionListener in Jruby »
I'm new to Jruby and currently working on an app needs to convert Java code to Jruby for JMS client, here is the code in java: connection.setExceptio...
(0) odpowiedzi
2017-02-11 17:02 Gem install not finding existing gem »
When running gem install I get the following: gregoryostermayr@gregors test $ gem install jruby-boilerpipe ERROR: Could not find a valid gem 'jruby...
(1) odpowiedzi
2017-02-10 15:02 warbler WAR to deploy at tomcat, trouble with relativ URL root »
i have a Rails 4.2.7.1 project that I'm attempting to deploy to Tomcat 7 with JRuby 9.1.5.0 and Warbler 2.0.4 When I deploy it to the root context it ...
(1) odpowiedzi
2017-02-09 00:02 Rufus cron scheduling not working on a jetty server »
Steps to replicate: Create a new Rails project. (rails 3.2.22.5) Add dependencies (warbler, rake, rufus-scheduler) (/Gemfile) JRuby 9.1.7.0 Create...
(2) odpowiedzi
2017-02-08 20:02 Zlib::GzipFile::Error: not in gzip format »
I'm trying to decode a gzipped string with zlib and jruby. Here is the minimal working example. require 'stringio' require 'zlib' str = 'H4sIAAAAAAA...
(1) odpowiedzi
2017-02-08 18:02 Why is Rufus scheduling the job twice? »
Steps to replicate: Create a new Rails project. (rails 3.2.22.5) Add dependencies (warbler, rake, rufus-scheduler) (/Gemfile) JRuby 9.1.7.0 Create...
(1) odpowiedzi
2017-02-07 20:02 ActiveRecord::ConnectionAdapters::Column jdbc error "uninitialized constant" in jruby 9 and rails 5+ »
I am attempting to install and run jruby 9.1.7.0 and rails 5.0.1 on Windows 10. Everything seems to be fine on the install, but as soon as I start a ...
(0) odpowiedzi
2017-02-06 02:02 logstash 5.2.0 Unable to find JRuby in Mac »
I'm trying to run logstash 5.2.0 I downloaded the .tar version from https://www.elastic.co/downloads/logstash When I run: logstash-5.2.0/bin/logst...
(0) odpowiedzi
2017-02-03 17:02 How to create a log folder before rails application loads the config.logger »
I have an rails app. I am using Jruby/Warble/Jetty to create the executable war file. Copy paste the war file into a separate folder. I want the appl...
(1) odpowiedzi
2017-01-31 04:01 How to add columnText as an annotation in itext pdf »
I'm using columnText to draw html into a pdf through XMLWorkerHelper and it's working great. The only problem is, the code base I'm working with requ...
(1) odpowiedzi
2017-01-30 16:01 JRuby multi-core processing usages »
Is it possible to run code blocks on multiple cores? For an example for loops and alike? If its possible without much overhead why not use it all the ...
(1) odpowiedzi
2017-01-25 21:01 Jruby fails to build test server calabash-android »
Im using calabash-android together with rvm: I been using it succesfully but need to use ruby-2 to do the rebuild of the apk file as in jruby always f...
(0) odpowiedzi
2017-01-25 10:01 Can you use gems, when you execute a Ruby script in embedded JRuby? »
It so happened that I need to unit-test this Ruby script. It's a Sinatra-based web application that uses several gems. I have more experience in Java...
(1) odpowiedzi
2017-01-25 03:01 Rails-jruby update for Log4j2 »
I've a rails app that uses jruby. It currently uses log4j-1.2 to write logs. I am trying to update the application to log4j-2.6 I am able to get the ...
(0) odpowiedzi
2017-01-24 20:01 Bignum to Fixnum ClassCastException error using mongoid under JRUBY »
I am having trouble with using Mongoid in a Rails app under JRuby. I can insert records and count records, but any attempt to query results in the fol...
(0) odpowiedzi
2017-01-24 16:01 Logstash is unable to find log4j2.properties configuration file »
When trying to run logstash 5 on windows: C:\Development\workspace\logstash>C:\Development\Software\logstash-5.1.2\bin\logstash.bat -f robot-log...
(1) odpowiedzi
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