Data dodania Pytanie
2016-10-02 22:10 JRuby 1.7.13 failing to install ruby-debug-ide »
I've seen a few related questions on StackOverflow and on the Net but none of the commands mentioned in any has helped me to fix the issue. I've got:...
(0) odpowiedzi
2016-10-02 21:10 Cucumber for Web testing: better Ruby or JRuby? »
I need to set up the automation framework of a Web project using cucumber and researching about the subject I see people who're using Ruby and others ...
(1) odpowiedzi
2016-10-02 00:10 jruby/cucumber: Bundle install doesn't install any gem »
I'm on Windows 10 x64 and I've installed JRuby 1.7.8 (I tried the files for x64 and 32bits with the same problem) and JRE 7. I was trying to have my ...
(2) odpowiedzi
2016-09-30 08:09 How to get values from a hash within an array »
I have an array consisting of multiple hashes with the same structures. I also have another array filled with strings: prop_array = [ ...
(1) odpowiedzi
2016-09-27 09:09 jRuby -S rake db:seed gives me 'LANG' is not recognized as an internal or external command »
I'm having a problem in running jRuby -S rake db:seed in my Ruby project. It gives me the error like 'LANG' is not recognized as an intern...
(0) odpowiedzi
2016-09-26 18:09 How to figure out what exception to catch in Ruby »
I was given some code that keeps getting an exception raised from a jRuby library. The code only handles certain exceptions but it misses the one I ke...
(1) odpowiedzi
2016-09-21 22:09 Cannot accessible variable in bindings in JRuby when using Invocable »
As specified in JSR223, Bindings can be used to share variables with the scripting engine. I am currently using JRuby as my scripting language. I am...
(0) odpowiedzi
2016-09-19 12:09 ActiveRecord::ConnectionNotEstablished : jdbc adapter requires :driver and :url (got :driver = ) »
I am running jruby on rails application and using glassfish server and postgresql database. i have created connection pool in glassfish server and i a...
(0) odpowiedzi
2016-09-19 02:09 how to stub a java class method in jruby »
I have the following code in jruby: class Foo def initialize start end def start require 'java' java_import 'org.priv.Config' @...
(0) odpowiedzi
2016-09-16 11:09 Getting null pointer exception on db:migrate for jruby »
I'm trying to run rake db:migrate. This is the error I'm getting /Users/kartik/.rbenv/versions/jruby-9.1.5.0/lib/ruby/gems/shared/gems/rake-11.2.2/l...
(0) odpowiedzi
2016-09-16 10:09 jruby : jdbc adapter requires :driver and :url (got :driver = ) »
I am getting jdbc adapter requires :driver and :url (got :driver = ) error whenever i hit any request to my jruby on rails application. below is my ...
(1) odpowiedzi
2016-09-16 03:09 guarded execution of recursive methods in ruby / jruby »
I try to better understand the behaviour of (j)ruby when invoking recursive functions. For instance, consider the following code: map = Hash.new map[...
(0) odpowiedzi
2016-09-15 11:09 Jruby: Not able to start webrick server in jruby on rails application »
I have install jruby 1.7.16 and rails 4.1.8 on my ubuntu machine. i have existing jruby application which i want to run using webbrick server but i am...
(1) odpowiedzi
2016-09-13 16:09 JRuby Warbler - How to compile gems also »
I know warble compiled, but this command compiles only the source of a project. I want that warbler compiles gems together. How to do it? ...
(1) odpowiedzi
2016-09-12 07:09 Ctrl-C not terminating Rails Server when using Jruby and Pry »
I've put a binding.pry statement in one of my ruby files to do some debugging and the pry console shows up as expected. However, I am now unable to ex...
(1) odpowiedzi
2016-09-11 14:09 logstash error while starting -- LoadError: Could not load FFI Provider: »
I installed latest Logstash (2.4) on my linux mint 17. Created a conf file and tried starting it. It gives me a very huge stack trace (1740 lines of...
(0) odpowiedzi
2016-09-09 12:09 Issue on installing a own written logstash plugin »
I am doing my firts steps on writing my own logstash filter plugins. I followed the instructions of https://www.elastic.co/guide/en/logstash/current/_...
(0) odpowiedzi
2016-09-07 23:09 Attempting to use pools crashes Celluloid »
I'm trying to use pools in a project of mine that uses Celluloid. However, whenever I invoke the pool method on a class which includes Celluloid (thus...
(1) odpowiedzi
2016-09-06 18:09 jruby irb newline \r instead of \n »
Using jruby 9.1.2.0 irb I get ^M instead of \n when hitting the return key. To reproduce: Run jruby irb i.e. java -jar jruby-complete-9.1.2.0-compl...
(1) odpowiedzi
2016-09-05 23:09 How do you upgrade rubygems from a war file? »
I'm working with an older system, (jruby 1.6.8, rails 2.3.5, tomcat 7, centos 7, java 1.7), and I need to downgrade rubygems from 1.8.24 to 1.4.2. I d...
(1) odpowiedzi
2016-09-02 21:09 Net::SSH (Ruby, JRuby) hangs on exec!(command) »
I'm trying to use Net::SSH to execute commands remotely. I am successful in executing the script on Windows, but in my Unix environment I'm able to co...
(0) odpowiedzi
2016-09-01 11:09 Reload config yaml file at runtime on any change made »
I have an application in jruby 9.0.3.0 using sinatra framework and runs using puma server on windows. I want to reload yaml file at runtime when any c...
(0) odpowiedzi
2016-08-31 12:08 Pry show-source on a warbled jruby jar still show the souce code »
My (JRuby 1.7) application is used as a jar & provides a commandline interface using hte pry & irb gems so that the user can directly execute ...
(0) odpowiedzi
2016-08-30 23:08 How to call java method from jruby »
I am learing Jruby and i have following code in my eclipse public class Test { public Test() { System.out.print("object created"); } pu...
(0) odpowiedzi
2016-08-25 18:08 Odd JRuby error: Could not find or load main class Files\Apache »
We use JRuby for buildfile related stuff. When trying to build a project, I received this error related to my JRuby: Error: Could not find or load ma...
(0) odpowiedzi
2016-08-11 01:08 Use JDBC to connect to Hive in Jruby generates ClassNotFoundException »
I am trying to connect to hive using JRuby, this is part of my code require 'java' module JavaLang include_package 'java.lang' end module JavaSq...
(1) odpowiedzi
2016-08-09 07:08 Why is Elixir faster than JRuby? »
I picked JRuby because it's similar to Elixir in a sense that they are both dynamic languages that are compiled into bytecode to be consumed by a VM. ...
(1) odpowiedzi
2016-08-07 19:08 JRuby OJDBC, no error but insert doesn't show up? »
I've been following the tutorial from Oracle, using their JDBC driver with an oracle database and JRuby. I have the JRuby connector class required, an...
(1) odpowiedzi
2016-08-04 10:08 How delete extra spaces in Logstash? »
I have this log. How to delete all extra spaces by Logstash? Because this filter does not work. ...
(0) odpowiedzi
2016-08-03 17:08 Setting XMLSlideShow/ppt table's row height is not working in jruby apachi-poi library »
I am trying to create multiple slides using apachi-poi library in jruby. Setting the row height is not working properly. I have pasted the complete co...
(0) odpowiedzi
2016-08-03 00:08 Heroku - JRuby - rake aborted! - java.lang.IllegalAccessException »
I am following the "Getting Started on Heroku with Ruby (Microsoft Windows)" tutorial. I have followed the steps carefully. However, when I entered ...
(0) odpowiedzi
2016-08-02 03:08 How to check which jruby version is compatible with which java version? »
It should be a basic question but in the release notes, I often find a particular version of jruby is compatible with which version of ruby. How about...
(1) odpowiedzi
2016-07-29 06:07 how to skip push in gem-maven-plugin »
06:10:25 INFO: --- gem-maven-plugin:1.1.5:push (default-push) @ logstash-filter-jslt --- 06:10:25 INFO: Successfully installed abc.def.xyz.logstash-fi...
(0) odpowiedzi
2016-07-29 00:07 ExecJS runtime error when trying to precompile assets for production in RoR »
I've recently tried to precompile the assets of my Rails 4.2.6 CMS app, but I get this error: ** Invoke assets:precompile (first_time) ** Invoke asse...
(0) odpowiedzi
2016-07-28 00:07 jruby: does enabling jruby.thread.pool.enabled means that multiple ruby threads will share same java thread »
We are playing with jruby and option jruby.thread.pool.enabled It that option is enabled and jruby.thread.pool.max is set to a small value, does if m...
(1) odpowiedzi