2,840 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
74
views
Need to do CPU profiling of Jruby application
Need to do CPU profiling for Jruby application (jruby version : 1.7.20.1-8) which uses ruby version (1.9.3).
I tried using default profiler but getting below error due to version compatibility issue ...
1
vote
1
answer
129
views
jruby ArgumentError: wrong number of arguments (given 2, expected 3)
I am getting this error trying to start a server. Getting this error for line 80 which is this line from the code block.
shtctx.set_handler(org.eclipse.jetty.server.handler.ShutdownHandler.new(server,...
1
vote
1
answer
31
views
Is there a way to get the JRuby script in the StackTraceElements in JRuby StackTraces
I am using JRuby, but I am often calling scripts from other scripts, which means that when I have StackTraces from the Java caller, not all the StackTraceElements are coming from the initial calling ...
1
vote
1
answer
85
views
actioncable connection lost immediately in production
Actioncable subscribe leads to this error in production:
/home/[app]/.rbenv/versions/jruby-9.4.1.0/lib/ruby/gems/shared/gems/actioncable-6.1.6.1/lib/action_cable/connection/stream_event_loop.rb:74
...
1
vote
2
answers
91
views
Error during installation of Ruby on Rails
rails installation failed on Macbookair because of "Invalid IP Address" or issue with access privileges
I have installed JRuby 9.2.9.0 on the MacBook Air.
When I was trying to install the ...
1
vote
2
answers
137
views
Passing information from 'before' to 'after' block
(I'm using JRuby, but I think that my problem applies to MRI Ruby as well)
My RSpec definition has this overall structure:
RSpec.describe 'XXX' do
before(:all) do
# preparation common for each ...
0
votes
0
answers
45
views
Error Connecting to rubygems.org During bundle install with JRuby on ARM64
Question:
I'm encountering an issue while running bundle install with JRuby on an ARM64 architecture. Here are the details:
JRuby version: jruby-9.3.10.0 [arm64]
Bundler version: 2.4.22
When I ...
1
vote
0
answers
91
views
RackInitializationException: exit error when deploying JRuby (9.4.8.0) WAR in Tomcat 9 | Jruby-Rack 1.2.2
I am encountering an issue when deploying a JRuby (9.4.8.0) WAR file in Tomcat (9.0.58.0). During initialization, the deployment fails with a RackInitializationException and an exit call in the ...
1
vote
0
answers
36
views
String.from_java_bytes and encoding
I have a JRuby application, which gets invoked from a Java main program, and receives data in form of a Java byte Array (byte[]). As this data originates from a text file, I know that it is text in ...
2
votes
2
answers
184
views
Netbeans 21 can find Jruby plugin
Trying to install jruby on netbeans 21. All info I can find appears outdated. The Marven Repository appears to have what I am after but when attempt to install from it get 403 error.
Can anyone at ...
1
vote
1
answer
587
views
Error while doing bundle install with jruby
Currently, I am using JRuby 9.2.20.1 (2.5.8) and I am getting the error below:
2024年03月19日T16:27:22.302+05:30 [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO ...
1
vote
2
answers
61
views
jruby-jms-1.3.0-java gem create_destination method throws error "undefined method `java_kind_of?
create_destination method in jruby-jms-1.3.0-java gem(latest version) with jRuby 9.4.5.0 still have java_kind_of?(JMS::Destination) which is giving me error:
"undefined method `java_kind_of?' for ...
0
votes
1
answer
99
views
How to use csv converter encoding in ruby?
require 'csv'
module Expertus
class Dataset < Array
attr_accessor :data_type, :udc_id, :filename_suffix
# knows its common_udc_id and data type
def initialize *args
CSV::Converters[:...
1
vote
1
answer
377
views
Unable to run hbase shell in Mac [duplicate]
I have installed zookeeper and Hbase and started the Hbase. And its running i can able to view the web UI.
When i started to intract with it by hbase shell, i can't able to connect to hbase shell
...
0
votes
2
answers
207
views
Undefined method for nil:NilClass in JRuby
I am developing a framework to integrate scripting languages in java. For Ruby, I am using JRuby (last 9.4.5.0 version).
I have the following Java interfaces:
public interface ContextListener {
...