Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 23:08:31 +0100 (CET)
From:      Daniel Roethlisberger <daniel@roe.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        daniel@roe.ch
Subject:   ports/186392: www/rubygem-sinatra: requires rubygem-tilt 1.3.x, not 2.0.0
Message-ID:  <201402022208.s12M8Vsv017077@stroopwafel.roe.ch>
Resent-Message-ID: <201402022210.s12MA0bh017321@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186392
>Category:       ports
>Synopsis:       www/rubygem-sinatra: requires rubygem-tilt 1.3.x, not 2.0.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 02 22:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Roethlisberger
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD stroopwafel.roe.ch 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

rubygem-sinatra-1.4.4              =
rubygem-tilt-2.0.0                 =

	
>Description:

Sinatra 1.4.4 requires Tilt 1.3.x and does not run with Tilt 2.0.0.  With
latest packages installed, running a Sinatra app results in the following
exception, AFAICS breaking all Sinatra apps using the gem from ports/packages:

/usr/local/lib/ruby/site_ruby/1.9/rubygems/dependency.rb:247:in `to_specs': Could not find tilt (>= 1.3.4, ~> 1.3) amongst [daemons-1.1.9, diff-lcs-1.2.5, eventmachine-1.0.3, git-1.2.5, grit-2.5.0, haml-4.0.4, kgio-2.8.0, mime-types-1.25.1, posix-spawn-0.3.6, rack-1.4.5, rack-protection-1.5.0, raindrops-0.11.0, rdiscount-2.1.6, sinatra-1.4.4, thin-1.2.11, tilt-2.0.0, unicorn-4.6.3] (Gem::LoadError)
	from /usr/local/lib/ruby/site_ruby/1.9/rubygems/specification.rb:778:in `block in activate_dependencies'
	from /usr/local/lib/ruby/site_ruby/1.9/rubygems/specification.rb:767:in `each'
	from /usr/local/lib/ruby/site_ruby/1.9/rubygems/specification.rb:767:in `activate_dependencies'
	from /usr/local/lib/ruby/site_ruby/1.9/rubygems/specification.rb:751:in `activate'
	from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:212:in `rescue in try_activate'
	from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:209:in `try_activate'
	from /usr/local/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:59:in `rescue in require'
	from /usr/local/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:35:in `require'
	from ./helloworld.rb:2:in `<main>'

>How-To-Repeat:
# pkg install rubygem-sinatra
$ cat >helloworld.rb <<EOF
#!/usr/bin/env ruby
require 'sinatra'
get '/hi' do
  "Hello World!"
end
EOF
$ chmod 755 helloworld.rb
$ ./helloworld.rb
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402022208.s12M8Vsv017077>