Data dodania Pytanie
2017-07-31 20:07 InterruptedRegexpError on glasfish server with jruby and postgresql »
while running sql query on glassfish server i am getting below error. InterruptedRegexpError (Regexp Interrupted): Below is the sql query SELECT *...
(0) odpowiedzi
2017-07-29 18:07 jruby war file: How to run rake task present in .war file »
I am creating war file out of my jruby rails application and deploying on my server. my server contains has only ruby 1.9.3 and glassfish server. I w...
(0) odpowiedzi
2017-07-28 13:07 Extract attribute value from XML in JRuby »
I need to extract the value of an attribute. From the xml below I need to extract the value '9'. xmlDoc = <?xml version='1.0' encoding='UTF-8'?&g...
(3) odpowiedzi
2017-07-28 13:07 JRuby Warbler: How to compile all the source files of a Ruby on Rails App »
Warbler is a fantastic gem that compiles a Jruby project(Rails) to a deployable war file. Thanks to this stackoverflow question gives the required inf...
(1) odpowiedzi
2017-07-27 17:07 Run jruby rspec on virtual windows server »
I am trying to run rspec on a Virtual Windows Server. However, it keeps saying "The system cannot find the path specified." It cannot execute 'rspec' ...
(0) odpowiedzi
2017-07-26 13:07 How to install gems in jruby on windows? »
I am using jruby 1.5.6 and want to install cancan gem. I used "jruby -S gem install cancan" but am getting :- ERROR: http://gems.rubyforge.org/ does...
(0) odpowiedzi
2017-07-25 16:07 LoadError: no such file to load -- jruby_pageant »
When I begin to run the below code in gitbash prompt. It was throwing error Is there any dependency that has to add or install in windows. I tried to ...
(0) odpowiedzi
2017-07-25 14:07 Does my ruby thread code will run in parallel automatically when use jRuby »
I have this code require 'thread' work_q = Queue.new (0..50).to_a.each{|x| work_q.push x } workers = (0...4).map do Thread.new do begin w...
(1) odpowiedzi
2017-07-24 06:07 Where is the ~/.jruby_art folder when installing JRubyArt (previously Ruby-Processing)? »
I'm currently stuck with the next step where I have to set PROCESSING_ROOT for Mac and can't locate the ~/.jruby_art folder. It's suppose to be in th...
(1) odpowiedzi
2017-07-23 20:07 TypeError when running rails commands with jruby »
I switched from MRI to JRuby and am now getting an error on rails+puma startup: $ jruby -S rails s puma TypeError: no implicit conversion of Regexp i...
(1) odpowiedzi
2017-07-19 16:07 Upgrading from jruby-9.0.5.0 hangs tomcat »
I am trying to upgrade jruby. Went to a latest version 9.1.12.0, didn't work. Tried one version up (9.1.0.0) and same issue The issue is it takes a v...
(1) odpowiedzi
2017-07-19 12:07 Jruby - cannot install Mongo gem »
JRuby 9.1.12.0 (2.3.3) Rubygem 2.6.11 Win 7 Mongo 2.3.2 Bson-4.2.2 I have moved over to JRuby to enable me to use some Java based libraries and I hav...
(2) odpowiedzi
2017-07-17 23:07 Cannot install Watir on Jruby 9.1.12.0 - Windows 7 »
I am trying to install gems from a local gem repository into Jruby 9.1.12.0 and I am getting stuck on Watir which is pretty much the first one I trie...
(1) odpowiedzi
2017-07-17 17:07 CompatibilityError: incompatible encodings: ASCII-8BIT and UTF-8 »
I am trying to build a string, and add it to a queue, but the string needs to be wrapped around the Unicode character 254.chr. This is my code; def...
(0) odpowiedzi
2017-07-14 23:07 After Upgrade To JRuby 9.1.9.0, Rails CookieStore Very Slow When Handling Encrypted Cookies »
I recently upgraded a JRuby 1.7.x based Rails 4.2.5 Web application to JRuby 9.1.9.0. When I deploy the to a web server, page loads take up to 60se...
(1) odpowiedzi
2017-07-12 06:07 How to convert org.jruby.RubyString to java.io.InputStream »
I am using JRuby with a Java library. The type of an input parameter of the Java method is InputStream, and I am using JRuby to call this method, how ...
(1) odpowiedzi
2017-07-11 14:07 Difference between `warble executable war` vs `bundle exec warble executable war` »
I am trying to package a Rails application to a WAR file. I am pre-compiling the assets, then using warbler to package the application to a WAR file. ...
(1) odpowiedzi
2017-07-07 13:07 Jruby-rack-worker not starting on WebLogic »
I have a Jruby project that is using background processes that need to be run every x minutes. I am using Jruby-rack-worker + delayed_cron_job library...
(0) odpowiedzi
2017-07-07 09:07 Ruby/JRuby: self.foo() not the same as foo() when inheriting from Delegator »
I'm writing an application which I want to keep compatible with Ruby version from 1.9.3 up to current, and should run under MRI Ruby and JRuby. This w...
(0) odpowiedzi
2017-07-06 11:07 can you run Java in JRuby? »
Note: I'm new to this site, so if you downvote, please comment why so I can edit it and avoid it in the future I know that you can use Java packages ...
(1) odpowiedzi
2017-07-06 02:07 How should I debug a Nokogiri Null Pointer exception? »
A contractor created a fairly complex XSLT for a client of mine. It works great in various transform testing tools, using real data from our applicat...
(2) odpowiedzi
2017-07-02 13:07 How to integrate JRuby and Vaadin? »
I'm very new to Java world, comming from Python background. I'm interested in making Vaadin framework work with JRuby. Is it possible to make Vaadin w...
(0) odpowiedzi
2017-07-01 16:07 Jruby - rails app and sidekiq on same jvm instance »
This a silly question, but couldn't find an answer. I'm running a rails app on jruby, and I use sidekiq to proccess background jobs. Do I really have ...
(1) odpowiedzi
2017-06-26 20:06 How can I use Rails.cache with a hash? »
I'm trying to cache a hash inside my controller. def departments_for_select Rails.cache.fetch("departments_for_select_#{user_id}", expires_in: 5.mi...
(0) odpowiedzi
2017-06-26 01:06 Can't populate a TableView with Jruby/Jrubyfx »
I'm trying to make a Jruby app with a TableView but I haven't been able to populate the table with data or even find some sample code to do so. Here's...
(0) odpowiedzi
2017-06-23 11:06 Getting "cannot load Java class org.sikuli.script.Keys" while trying to run cucumber test using sikuli »
I'm trying to set up testing environment using sikuli+jruby+cucumber. So I've installed latest JDK, Sikulix 1.1.1 , and latest JRuby, set up the cucum...
(0) odpowiedzi
2017-06-22 13:06 jRuby threading - am I doing it right? »
Would you mind telling me if I am threading correctly in Ruby? I have an array items that I want to process in 16 threads, wait until all the threads...
(0) odpowiedzi
2017-06-17 16:06 How to call an overloaded java function from JRuby with an array parameter »
I have a java class with an overloaded method like the following one: public class Main { public void print(Object o) { System.out.println("p...
(1) odpowiedzi
2017-06-17 10:06 How can I improve JRuby startup time in Java? »
I have just made a little java program: ScriptEngineManager scriptengineManager = new ScriptEngineManager(); ScriptEngine engine = scriptengineManage...
(0) odpowiedzi
2017-06-09 21:06 Missing stack trace on zip in jruby »
I am running JRuby 1.7 and JRuby 9K on Java 1.7. While working on debugging a hard crash, I came across an exception message with no stack trace. Af...
(0) odpowiedzi
2017-06-04 10:06 Packaging JRuby binaries into executable jar »
Have downloaded the Jruby binaries on windows, installed the necessary gems i needed. How then do I re-package the whole Jruby binaries into an execut...
(1) odpowiedzi
2017-06-04 02:06 jruby rails undefined method `empty?' for nil:NilClass »
I am trying to run filterrific in jruby rails environment. Initially, there was no errors and was able to run it succesffully. Few days after that I w...
(1) odpowiedzi
2017-05-25 09:05 reading tomcat7 configurations from rails app »
I want to read a couple of Tomcat characters like maxThreads, maxConnections etc so that I can expose them through one of the API endpoints. Tomcat wi...
(1) odpowiedzi
2017-05-22 14:05 Rails initializer (using JRuby, Puma) at_exit is occasionally not executed »
I'm trying to make a little library that wraps over march_hare and is used as part of our Rails app. It needs to connect on app startup and disconnect...
(0) odpowiedzi
2017-05-20 05:05 Override interface method in jruby »
I'd like to implement the following in jruby: ref.addListenerForSingleValueEvent(new ValueEventListener() { @Override public void onDataChang...
(1) odpowiedzi