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
Responsible Changed From-To: freebsd-ports-bugs->ruby Over to maintainer (via the GNATS Auto Assign Tool)
Responsible Changed From-To: ruby->sunpoet I'll take it.
Author: sunpoet Date: Wed Feb 5 20:03:46 2014 New Revision: 342834 URL: http://svnweb.freebsd.org/changeset/ports/342834 QAT: https://qat.redports.org/buildarchive/r342834/ Log: - Fix .gemspec for rubygem-tilt 2.0.0 - Bump PORTREVISION for package change PR: ports/186392 Submitted by: Daniel Roethlisberger <daniel@roe.ch> Modified: head/www/rubygem-sinatra/Makefile Modified: head/www/rubygem-sinatra/Makefile ============================================================================== --- head/www/rubygem-sinatra/Makefile Wed Feb 5 20:03:40 2014 (r342833) +++ head/www/rubygem-sinatra/Makefile Wed Feb 5 20:03:46 2014 (r342834) @@ -3,6 +3,7 @@ PORTNAME= sinatra PORTVERSION= 1.4.4 +PORTREVISION= 1 CATEGORIES= www rubygems MASTER_SITES= RG @@ -19,4 +20,7 @@ USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +post-patch: + @${REINPLACE_CMD} -e '34 s|~>|">="|' ${WRKSRC}/${GEM_NAME}.gemspec + .include <bsd.port.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!