[Bug 212420] [PATCH] net/foreman-proxy: update to 1.12.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 30 09:17:10 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212420

--- Comment #10 from Karli Sjöberg <Karli.Sjoberg at slu.se> ---
OK, so I answered my own question; I modified rubygem-sinatra as in this
"rubygem-sinatra.patch", which built and installed just fine. It was also
possible to start the foreman-proxy service. Sadly, sinatra really is
incompatible with rack-2.0 as it errors out trying to add the proxy in foreman:
E, [2017-01-30T10:07:06.933036 #1301] ERROR -- : undefined method `bytesize'
for Rack::Utils:Module (NoMethodError)
/usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:47:in
`rescue in call'
/usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:25:in
`call'
/usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in
`call'
/usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in
`call'
/usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in
`block in call'
/usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in
`synchronize'
/usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in
`call'
/usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/urlmap.rb:68:in `block in
call'
/usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/urlmap.rb:53:in `each'
/usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/urlmap.rb:53:in `call'
/usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/builder.rb:153:in `call'
/usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in
`service'
/usr/local/lib/ruby/2.2/webrick/httpserver.rb:138:in `service'
/usr/local/lib/ruby/2.2/webrick/httpserver.rb:94:in `run'
/usr/local/lib/ruby/2.2/webrick/server.rb:294:in `block in start_thread'

Best Regards
Karli Sjöberg

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ruby mailing list