Data dodania Pytanie
2017-12-07 08:12 import class file in Jruby »
I have several scripts written in Jruby that I would like to obfuscate by converting them to .class files. But I am running into an error when I tried...
(1) odpowiedzi
2017-12-07 05:12 multithreading in Ruby vs JRuby vs Java »
I am new to Ruby and the JRuby and I was trying to implement multithreaded code in Ruby and came to know that GIL doesn't allow my code to run in para...
(1) odpowiedzi
2017-12-06 01:12 ActiveRecord could not connect to database server when running Rspec »
So I'm running rspec tests with jruby-1.7.16.1 after completing a bundle install, and they are all failing to the same error: Failure/Error: Una...
(1) odpowiedzi
2017-11-26 00:11 Java JRuby differences in Multithreading »
I am new to JRuby and Ruby.Is there any difference in multi threading in JRuby and Java.As JRuby is just an implementation of Ruby on JVM where Java a...
(1) odpowiedzi
2017-11-25 21:11 JRuby and java differences »
Can I know the major differences between Java and JRuby in terms of performance and ease of use and any conceptual differences? I have tried searching...
(0) odpowiedzi
2017-11-23 19:11 How do I tell which Ruby interpreter I'm using? »
I've seen this thread, but my question is maybe more basic: Given that the response from the accepted answer in that thread[1] is for me, "/Users/use...
(2) odpowiedzi
2017-11-23 11:11 Ruby convert into joda time? »
I have made this script, it will make a new field called "file Modified" with the infomation from "CreationDate". But now i want the time that is in ...
(0) odpowiedzi
2017-11-22 10:11 Ruby, change time to Joda-Time »
So im trying to make a scirpt that changes my "properties["CreationDate"]" to Joda-Time, but keep getting some erros, so was hoping you guys could see...
(0) odpowiedzi
2017-11-20 22:11 Ruby - Can't set Chrome default download directory after upgrading Selenium and Watir »
I have a project using the following: chromedriver 2.33 jruby-9.0.1.0 watir-webdriver 6.1.0 selenium-webdriver 3.3.0 When opening Chrome, we set th...
(0) odpowiedzi
2017-11-20 01:11 Tomcat doesnt find the ENV from the rails database.yml »
In my app I have set my database configuration in the database.yml with environment variables like this: wardeploy: adapter: mysql2 encoding: ut...
(0) odpowiedzi
2017-11-16 12:11 how to implement a jruby authentication script for ZAP security proxy »
my question is about script based authentication in ZAP security proxy. I try to use ZAP security proxy for testing a hybris application. Unfortunatel...
(1) odpowiedzi
2017-11-12 18:11 rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- java (LoadError) »
I am running Ruby 2.41 on osx, with no Rails. However, when I execute the script I get a "cannot load --java" error. /Users/Local/.rvm/rubies/ruby-...
(0) odpowiedzi
2017-11-10 18:11 How to install JRuby-9.1.13.0 with Java 9? »
I'm trying to install JRuby-9.1.13.0 with rbenv on MacOS. The issue is that for some reason still Java 7 (1.7) is required, which no longer officially...
(0) odpowiedzi
2017-11-08 23:11 JRuby sending a steam over SSL causes high memory usage »
I am attempting to stream a large JSON file ( ~300mb ) to Solr using JRuby ( 9.1.8.0 using jruby-openssl 0.9.21 ). The remote Solr server is using SSL...
(1) odpowiedzi
2017-11-08 00:11 Gem 2.3.1 and Ruby 2.3.3 versions don't match? »
I am following the tutorial on deploying a Rails application on to Heroku, I am trying to install the dependencies, when I type in the command, jruby ...
(1) odpowiedzi
2017-11-07 17:11 How to access protected method of Java jar file's class »
I am using a Java command-line application (which is open-source) as a jar file for my jrubyonrails project. The main application is like following p...
(1) odpowiedzi
2017-11-03 16:11 Cannot locate jruby during logstash installation »
I am learning something about ElasticSearch Stack and I am having a problem installing Logstash on Windows 10 (windows 10 enterprise N OS build 15063....
(0) odpowiedzi
2017-10-31 20:10 hbase shell run jruby scripts with xml file as input »
I wrote a JRuby scripts taking an xml file as input. My JRuby scripts name is: myruby.rb My xml file name is : myxml.xml If I want to use HBase shell...
(0) odpowiedzi
2017-10-30 11:10 How to get back ruby files (*.rb) files from .class »
I need to know if there is a way to get back the .rb files from .class. I need to know how to decompile or reverse engineer .class files to get .rb f...
(0) odpowiedzi
2017-10-27 10:10 JRuby : How to specify java primitive array »
How can I specify Java primitive array? Java Object array type can be specified like ['a'].to_java(:string).is_a? java.lang.String[] -> true but...
(1) odpowiedzi
2017-10-26 13:10 Logstash Load Error - Java »
I need help figuring out how to solve this error. I'm running elastic search 5.6.2 and log stash 5.6.1 (and tried 5.6.3 and 6.0.0) and JDK 1.8 but I'm...
(1) odpowiedzi
2017-10-23 13:10 Call abstract java class from jruby with a generic »
Currently facing an issue while writing a similar java class in Jruby. Example: In Java: public class Client extends ClientConnection<ChannelTy...
(1) odpowiedzi
2017-10-21 01:10 Bundler can't find a gem even though gem install works »
For this Gemfile: source 'https://rubygems.org' ruby '2.3.1' # equivalent version to what jruby supports gem 'jrubyfx' Bundler can't find the gem...
(1) odpowiedzi
2017-10-19 10:10 Ruby: Not able to understand why class method is accessible in child class »
As per Ruby method lookup law whenever we invoke any method on an object then ruby finds the method using formula object.class.ancestors. If this is t...
(2) odpowiedzi
2017-10-19 05:10 Getting JRuby-internal Java object from Ruby code »
I'm wondering if I could get JRuby-internal Java objects (e.g. org.jruby.RubyString, org.jruby.RubyTime) in Ruby code, and call their Java methods fro...
(1) odpowiedzi
2017-10-18 14:10 java output - > jruby treatment »
I have a question about a case of java library called by JRuby code. The library.jar contains a class myjavaclass and produces an output to jruby like...
(0) odpowiedzi
2017-10-13 16:10 Does JVM GC logging affect the running java process performance + Jruby »
We are trying to collect the JVM (a jruby process) GC logging since we need to establish few facts. Found few JVM_OPTIONS over here. But I'm not sur...
(1) odpowiedzi
2017-10-13 12:10 Drools Rule engine Integration in Ruby On Rails Project »
I already have a Ruby On Rails project for which i want to use Drools rule Engine which runs in java .How can i do that? I have created a Drools pr...
(0) odpowiedzi
2017-10-13 11:10 Generate documentation from step definitaion(java) and feature files using cucumber and gherkin »
I am using cucumber, gherkin and feature files in our automation project for testing purpose. This is a java project. So our step definition files are...
(0) odpowiedzi
2017-10-12 10:10 java.lang.NoSuchMethodError: org.apache.pdfbox.pdmodel.PDDocument.getPages() »
when I use Jruby and pdfbox,I meet a problem. The jar includes this method. Caused by: java.lang.NoSuchMethodError: org.apache.pdfbox.pdmodel.PDDocu...
(0) odpowiedzi
2017-10-12 08:10 how to use Jarfile in JRuby »
I am using Jarfile with JRuby to download jars from some artifactory but Don't know where it's keeping jar dependencies and how to use those jars insi...
(0) odpowiedzi
2017-10-05 18:10 Uninitialized constant ApplicationController::JasperReport »
I followed this tutorial https://www.sitepoint.com/create-great-reports-jasperreports/. But I have this problem now: This is my "application_contro...
(0) odpowiedzi
2017-10-03 21:10 Calling Ruby method from Java »
I have a Java application that depends on the result from a ruby script. The issue I'm facing is that this ruby script is called many times which requ...
(1) odpowiedzi
2017-10-01 23:10 Gems not installing for JRuby when selected through chruby due to timeout »
I've been having an issue when trying to install Bundler for either JRuby 9.1.5.0 or the latest 9.1.13.0, when enabled through chruby as discussed her...
(0) odpowiedzi
2017-10-01 10:10 Rails : how to use Jruby instead of the native Ruby on MacOs »
I am trying to use Jruby in mac. I see that there is Ruby already installed in usr/bin I like to use my custom jruby rather than the default ruby ins...
(0) odpowiedzi