Skip to content

Instantly share code, notes, and snippets.

Unknown error (SystemCallError) - /data/rails_apps/jms_inbound/releases/20190321044757/log/inbound_processor.log at 2019-03-27 20:34:48 -0700
org/jruby/RubyFile.java:359:in `initialize'
org/jruby/RubyIO.java:1169:in `open'
org/jruby/RubyKernel.java:307:in `open'
/usr/local/rvm/rubies/jruby-9.1.17.0/lib/ruby/stdlib/logger.rb:703:in `open_logfile'
/usr/local/rvm/rubies/jruby-9.1.17.0/lib/ruby/stdlib/logger.rb:695:in `set_dev'
/usr/local/rvm/rubies/jruby-9.1.17.0/lib/ruby/stdlib/logger.rb:635:in `initialize'
/usr/local/rvm/rubies/jruby-9.1.17.0/lib/ruby/stdlib/logger.rb:353:in `initialize'
@bappelt
bappelt / mvnw.log
Created September 15, 2017 17:55
mvnw.log
[2017-09-15 17:51:51] /usr/share/rvm/src/jruby-1.7.22/mvnw
current path: /usr/share/rvm/src/jruby-1.7.22
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/share/rvm/bin
command(1): /usr/share/rvm/src/jruby-1.7.22/mvnw
-bash: /usr/share/rvm/src/jruby-1.7.22/mvnw: No such file or directory
@bappelt
bappelt / gist:1c8140d848413149dc47bccef5c4a6f8
Created September 15, 2017 17:48
Failed RVM install JRUBY 1.7.22
root@ubuntu-512mb-nyc3-01:~# rvm install --debug jruby-1.7.22
jruby-1.7.22 - install
Log prefix: /usr/share/rvm/log/1505497088_jruby-1.7.22/
Log filesystem: ext4
Log max name length: 250
Log file: /usr/share/rvm/log/1505497088_jruby-1.7.22/remove.src.log
[2017-09-15 17:38:08] __rvm_rm_rf
__rvm_rm_rf ()
{
__rvm_rm_rf_verbose "$@"
irb(main):004:0> ConnectionErrorLog.first
D, [2017-01-24T19:08:13.236000 #278] DEBUG -- : MONGODB | Adding mongo:27017 to the cluster.
D, [2017-01-24T19:08:13.341000 #278] DEBUG -- : MONGODB | mongo:27017 | mongoid.find | STARTED | {"find"=>"connection_error_logs", "filter"=>{}, "limit"=>1, "singleBatch"=>true}
D, [2017-01-24T19:08:13.389000 #278] DEBUG -- : MONGODB | mongo:27017 | mongoid.find | SUCCEEDED | 0.004s
Java::JavaLang::ClassCastException: org.jruby.RubyBignum cannot be cast to org.jruby.RubyFixnum
from org.jruby.RubyBasicObject.addFinalizer(RubyBasicObject.java:1217)
from org.jruby.runtime.ObjectSpace.addFinalizer(ObjectSpace.java:118)
from org.jruby.RubyObjectSpace.define_finalizer(RubyObjectSpace.java:83)
from org.jruby.RubyObjectSpace$INVOKER$s$0$1$define_finalizer.call(RubyObjectSpace$INVOKER$s$0$1$define_finalizer.gen)
from org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:218)