Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2017 09:17:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 212420] [PATCH] net/foreman-proxy: update to 1.12.2
Message-ID:  <bug-212420-21402-pOqBcUPKNx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212420-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212420-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212420

--- Comment #10 from Karli Sj=C3=B6berg <Karli.Sjoberg@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 fore=
man:
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 `bloc=
k 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 `ca=
ll'
/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=C3=B6berg

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212420-21402-pOqBcUPKNx>