Data dodania Pytanie
2017-08-11 20:08 How can I launch a rails console for an app deployed on Tomcat? »
I want to get an interactive rails console on a deployed JRuby on Rails app on Tomcat deployed as a war file. ...
(1) odpowiedzi
2017-08-10 15:08 Where to set java options in jruby on rails? »
We are working on jruby on rails app. Want to set JRUBY_OPTS or JAVA_OPTS. I can easily use the export to set them on my machine, but I'd like these ...
(1) odpowiedzi
2017-08-10 13:08 Rails fragment caching fails on non us-ascii chars »
I'm having issues with fragment caching in my Rails app. I've discovered that, if I have some language special chars like german letter "ß" caching f...
(0) odpowiedzi
2017-08-09 17:08 undefined method `get_header' for Rack::Handler::Servlet::DefaultEnv »
I am attempting to deploy a Rails 5.1 app to a Tomcat 7 server as a war file that I packaged with warbler. When I attempt to visit any page, the app c...
(0) odpowiedzi
2017-08-09 07:08 Unhandled Java exception: com.microsoft.sqlserver.jdbc.SQLServerException connecting to Sql Server from Linux Server usingJruby »
I am trying to connect to MS SQL Server Database using jruby on Linux server. This is how my code looks like: require 'rubygems' require 'java' requi...
(0) odpowiedzi
2017-08-08 05:08 Is there a way to get rspec --bisect to work with jruby? »
I thought I'd try using rspec --bisect to figure out which combinations of tests caused a failure, but it turns out that this doesn't work with JRuby,...
(0) odpowiedzi
2017-08-01 15:08 Building apache ODE from the source Jruby and Buildr »
I need to build apache ODE 1.3.5 from the source. Building from the source is important for me because we plan to make some changes in the ODE code. I...
(0) odpowiedzi
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