Hello,
I have something wrong on one smart proxy, daemon start without any issue, but when from foreman I click on refresh capabilites I got :
E, [2018-08-02T14:44:20.543628 ] ERROR – : uninitialized constant Rack::Handler::WEBrick::RACK_VERSION
Did you mean? Rack
RUBY_VERSION (NameError)
/var/lib/gems/2.3.0/gems/rack-2.0.5/lib/rack/handler/webrick.rb:66:inservice' /usr/lib/ruby/2.3.0/webrick/httpserver.rb:140:in
service’
/usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:inrun' /usr/lib/ruby/2.3.0/webrick/server.rb:296:in
block in start_thread’
My system is debian 9.
Here is my ruby setup :
/var/log/foreman-proxy $ dpkg --list | grep ruby*
ii grub-common 2.02~beta3-5 amd64 GRand Unified Bootloader (common files)
ii grub-pc 2.02~beta3-5 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 2.02~beta3-5 amd64 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii grub2-common 2.02~beta3-5 amd64 GRand Unified Bootloader (common files for version 2)
ii libruby2.3:amd64 2.3.3-1+deb9u2 amd64 Libraries necessary to run Ruby 2.3
ii puppet-agent 5.5.4-1stretch amd64 The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, hiera and mcollective.
ii rake 10.5.0-2 all ruby make-like utility
ii ruby 1:2.3.3 amd64 Interpreter of object-oriented scripting language Ruby (default version)
ii ruby-addressable 2.4.0-1 all alternative URI implementation for Ruby
ii ruby-ansi 1.5.0-1 all ANSI escape codes at your fingertips
ii ruby-augeas 1:0.5.0-3+b4 amd64 Augeas bindings for the Ruby language
ii ruby-bundler 1.13.6-2 all Manage Ruby application dependencies (runtime)
ii ruby-bundler-ext 0.4.1-1 all Load system gems via Bundler DSL
ii ruby-clamp 1.1.1-1 all minimal framework for Ruby command-line utilities
ii ruby-concurrent 1.0.0-3 all modern concurrency tools for Ruby
ii ruby-dev:amd64 1:2.3.3 amd64 Header files for compiling extension modules for Ruby (default version)
ii ruby-did-you-mean 1.0.0-2 all smart error messages for Ruby > 2.3
ii ruby-domain-name 0.5.20160216-2 all Domain Name manipulation library for Ruby
ii ruby-hashie 3.4.4-1 all small collection of tools that make hashes more powerful
ii ruby-highline 1.7.8-1 all high-level interactive IO Ruby library
ii ruby-http 1.0.2-4 all easy-to-use client library for making http requests from Ruby
ii ruby-http-cookie 1.0.2-1 all Ruby library to handle HTTP Cookies based on RFC 6265
ii ruby-http-form-data 1.0.1+gemwatch-1 all utility-belt to build form data request bodies
ii ruby-http-parser.rb 0.6.0-3+b3 amd64 Simple callback-based HTTP request/response parser
ii ruby-json 2.0.1+dfsg-3 amd64 JSON library for Ruby
ii ruby-kafo 2.1.0-1 all Ruby gem for making installations based on puppet user friendly
ii ruby-kafo-parsers 0.1.6-1 all Puppet module parsers
ii ruby-kafo-wizards 0.0.1-1 all Wizard like interfaces in terminal
ii ruby-little-plugger 1.1.4-1 all module that provides Gem based plugin management
ii ruby-logging 2.0.0-1 all flexible and extendable logging library for Ruby
ii ruby-minitest 5.9.0-1 all Ruby test tools supporting TDD, BDD, mocking, and benchmarking
ii ruby-molinillo 0.5.0-2 all generic dependency resolution algorithm
ii ruby-multi-json 1.11.2-3 all Ruby library to provide easy switching between different JSON backends
ii ruby-net-http-persistent 2.9.4-1 all Manages persistent connections using Net::HTTP
ii ruby-net-telnet 0.1.1-2 all telnet client library
ii ruby-power-assert 0.3.0-1 all library showing values of variables and method calls in an expression
ii ruby-powerbar 1.0.18-1 all progressbar library for Ruby
ii ruby-rack 1.6.4-4 all modular Ruby webserver interface
ii ruby-rack-protection 1.5.3-2+deb9u1 all Protects against typical web attacks for Rack apps
ii ruby-rsec 0.4.2-1 all Extreme Fast Parser Combinator for Ruby
ii ruby-sinatra 1.4.7-5 all Ruby web-development dressed in a DSL
ii ruby-test-unit 3.1.7-2 all unit testing framework for Ruby
ii ruby-thor 0.19.1-3 all Ruby scripting framework
ii ruby-tilt 2.0.1-2 all Generic interface to multiple Ruby template engines
ii ruby-trollop 2.0-2 all command-line argument processing library
ii ruby-unf 0.1.4-2 all Wrapper library to bring Unicode Normalization Form support to Ruby
ii ruby-unf-ext 0.0.7.2-3 amd64 Unicode Normalization Form support library for CRuby
ii ruby2.3 2.3.3-1+deb9u2 amd64 Interpreter of object-oriented scripting language Ruby
ii ruby2.3-dev:amd64 2.3.3-1+deb9u2 amd64 Header files for compiling extension modules for the Ruby 2.3
ii rubygems-integration 1.11 all integration of Debian Ruby packages with Rubygems
The proxy was working before, I guess something broke the config but so far I don’t know where to look at.
Any idea ?