Skip to content

Error with torquebox 3.2.0/ jRuby 9.0.5.0 #29

@rusch

Description

@rusch

Deploying an application in Torquebox fails with the following error message:

Caused by: org.jruby.exceptions.RaiseException: (GemRequireError) There was an error while trying to load the gem 'savon'.
Gem Load Error is: undefined local variable or method num' for #<Socksify::Color:0x30580987> Backtrace for gem load error is: /opt/torquebox/jruby/lib/ruby/gems/shared/gems/socksify-1.7.0/lib/socksify/debug.rb:24:into_s'

The following diff fixes the problem:

--- socksify-1.7.0/lib/socksify/debug.rb.orig   2016-10-13 14:40:25.244538919 +0200
+++ socksify-1.7.0/lib/socksify/debug.rb    2016-10-13 14:44:18.516043198 +0200
@@ -19,7 +19,9 @@
     def self::to_s
       new.to_s
     end
-
+
+    def num; 37; end
+
     def to_s
       "\e[1m\e[#{num}m"
     end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions