Data dodania Pytanie
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
2016-11-07 16:11 JRuby anonymous classes »
How to access the parent class variables from an anonymous class in JRuby? (without using static variables) class MyJRubyClass def initialize...
(1) odpowiedzi
2016-11-07 13:11 jruby rails : Java::JavaLang::OutOfMemoryError: Java heap space »
I am trying to compile my javascript assets. i have included plotly.js file which is almost 2MB in size. also i have included angualr2.dev.js file whi...
(1) odpowiedzi
2016-11-06 21:11 In SWT is it possible to distinguish between events caused user interaction vs code? »
This example is using JRuby. For example if I add listener to a Text widget like such: add_modify_listener do |e| options = { event: e, r_value:...
(1) odpowiedzi
2016-11-06 13:11 Jruby on Rails: assets precompile Java::JavaLang::OutOfMemoryError: GC overhead limit exceeded »
I am on jruby on rails technology. i am trying to precompile my assets but getting below error. Sass 3.5 will no longer support Ruby 1.9.3. P...
(0) odpowiedzi
2016-11-06 11:11 How do you use the JRuby gem file »
In the JRuby download page there is a JRuby-jars 9.1.5.0 .gem file. How do you use this file? ...
(0) odpowiedzi
2016-11-05 11:11 Creating a JRuby parser implementation to generate AST from java file »
I am currently trying to parse the following java code to get an AST from my .java files in a jrubyparser implementation: import static org.junit.Ass...
(1) odpowiedzi
2016-11-04 12:11 Logstash gives GemNotFound when running external ruby file from ruby filter plugin »
I have a ruby file which I am trying to run in ruby script of ruby filter plugin. This is my ruby script in logstash.conf file: input { file { ...
(0) odpowiedzi
2016-11-02 11:11 jruby trouble with warbler aborted »
I'm a beginner in jruby. I have a Ruby Rails app - which I run with rials s to run. Now I want to create war-warbler with a WAR-file, but I get an err...
(0) odpowiedzi
2016-11-02 09:11 SASS is prepending unicode content with backslash (\) »
Problem I'm trying to produce some unicode characters after compiling my *.scss file. As an example, I have the following (SCSS): .element:after { ...
(0) odpowiedzi
2016-11-02 06:11 ruby how to load image relative to source code in jar »
I have a jruby Swing application in a jar. In my source code main.rb I have an image specified as img = ImageIcon.new("img/test.png") which does n...
(1) odpowiedzi
2016-11-01 19:11 How to suppress net-ssh warnings in JRuby? »
I am seeing ELF warning with net-ssh and I am trying to suppress that warning from printing it on console. I tried mentioning $VERBOSE = nil before I...
(2) odpowiedzi
2016-11-01 01:11 Bundle install Windows Custom Gem »
I'm quite new to Ruby and I am working on a project that runs well on linux, but I need to use Windows for it. I´m using jruby and I need to install ...
(1) odpowiedzi
2016-10-21 19:10 Why isn't this working: attempting to call Ruby GEM from java using jRuby »
I am trying to use the chronic gem in java via jRuby I have installed jruby I have installed the chronic gem C:\>jruby -S gem list --local *** ...
(1) odpowiedzi
2016-10-19 16:10 Ruby: Can I wrap a class in another class completely transparently? »
I need to create a class like the following (the real problem is more complex) class IArray attr_reader :array # array is a Ruby Array def ini...
(3) odpowiedzi
2016-10-18 20:10 jruby jdbc how to get id of inserted row »
I have insert query that works, but I can't get ID of created row in return. How can I achieve that? having this: conn = Java::JavaSql::DriverManager...
(1) odpowiedzi
2016-10-12 18:10 Is ObjectSpace still disabled in jruby? »
Is ObjectSpace still disabled in jruby 9.1.5.0 (2.3.1)? If it's not just my installation (Arch Linux, up-to-date) having a bug, I get the suspicion t...
(1) odpowiedzi
2016-10-05 20:10 Implementing a Java Application in Ruby »
Is it possible to implement a program written in Java on a website coded using Ruby? Currently developing a website where data from a form must be tak...
(2) odpowiedzi
2016-10-05 03:10 Unable to uninstall jruby (windows): jvm could not start »
I've got this version on jruby in Windows 10: jruby 1.7.13 (1.9.3p392) 2014-06-24 43f133c on Java HotSpot(TM) Client VM 1.7.0_80-b15 [Windows 8-x8...
(0) odpowiedzi
2016-10-04 22:10 Jmeter variable to be used in jruby preprocessor »
In my jmeter script i am extracting the session key using the regular expression extractor. I want to use this extracted variable inside a jruby JSR22...
(1) odpowiedzi