Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Mar 2026 19:08:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 293550] devel/rubygem-sprockets-helpers: Update to latest sprockets 4
Message-ID:  <bug-293550-21402@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

            Bug ID: 293550
           Summary: devel/rubygem-sprockets-helpers: Update to latest
                    sprockets 4
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ruby@FreeBSD.org
          Reporter: sirl33tname@gmail.com
          Assignee: ruby@FreeBSD.org
             Flags: maintainer-feedback?(ruby@FreeBSD.org)

Created attachment 268487
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268487&action=edit
update to sprockets 4

Right now using sprockets 3 will break gollum on newer ruby versions. (see
error log at the end)

The fallout from this change should be minimal:
```
$ git grep rubygem-sprockets-helpers                                 
devel/Makefile:    SUBDIR += rubygem-sprockets-helpers
www/rubygem-gollum/Makefile:           
rubygem-sprockets-helpers>=1.2<2:devel/rubygem-sprockets-helpers \
```

Tested on my local instance, and runs like this in production for me.


Error log:

```
usr/local/lib/ruby/site_ruby/4.0/rubygems.rb:196:in 'Gem.try_activate':
undefined method 'name' for nil (NoMethodError)
      spec ||= Gem::Specification.find_by_name(spec.name)
                                                   ^^^^^
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:110:in
'Kernel#require'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:110:in
'Rackup::Handler.require_handler'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:52:in
'Rackup::Handler.get'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:74:in
'block in Rackup::Handler.pick'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:72:in
'Array#each'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:72:in
'Rackup::Handler.pick'
    from
/usr/local/lib/ruby/gems/4.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1631:in
'Sinatra::Base.run!'
    from /usr/local/lib/ruby/gems/4.0/gems/gollum-6.1.0/bin/gollum:294:in '<top
(required)>'
    from /usr/local/lib/ruby/site_ruby/4.0/rubygems.rb:304:in 'Kernel#load'
    from /usr/local/lib/ruby/site_ruby/4.0/rubygems.rb:304:in
'Gem.activate_and_load_bin_path'
    from /usr/local/bin/gollum:25:in '<main>'

/usr/local/lib/ruby/site_ruby/4.0/rubygems/specification.rb:2170:in
'Gem::Specification#check_version_conflict': can't activate rack-2.2.21,
already activated rack-3.1.19 (Gem::LoadError)
    from /usr/local/lib/ruby/site_ruby/4.0/rubygems/specification.rb:1379:in
'Gem::Specification#activate'
    from /usr/local/lib/ruby/site_ruby/4.0/rubygems.rb:193:in
'Gem.try_activate'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:110:in
'Kernel#require'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:110:in
'Rackup::Handler.require_handler'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:52:in
'Rackup::Handler.get'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:74:in
'block in Rackup::Handler.pick'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:72:in
'Array#each'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:72:in
'Rackup::Handler.pick'
    from
/usr/local/lib/ruby/gems/4.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1631:in
'Sinatra::Base.run!'
    from /usr/local/lib/ruby/gems/4.0/gems/gollum-6.1.0/bin/gollum:294:in '<top
(required)>'
    from /usr/local/lib/ruby/site_ruby/4.0/rubygems.rb:304:in 'Kernel#load'
    from /usr/local/lib/ruby/site_ruby/4.0/rubygems.rb:304:in
'Gem.activate_and_load_bin_path'
    from /usr/local/bin/gollum:25:in '<main>'

/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:110:in
'Kernel#require': cannot load such file -- rack/handler/thin (LoadError)
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:110:in
'Rackup::Handler.require_handler'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:52:in
'Rackup::Handler.get'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:74:in
'block in Rackup::Handler.pick'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:72:in
'Array#each'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:72:in
'Rackup::Handler.pick'
    from
/usr/local/lib/ruby/gems/4.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1631:in
'Sinatra::Base.run!'
    from /usr/local/lib/ruby/gems/4.0/gems/gollum-6.1.0/bin/gollum:294:in '<top
(required)>'
    from /usr/local/lib/ruby/site_ruby/4.0/rubygems.rb:304:in 'Kernel#load'
    from /usr/local/lib/ruby/site_ruby/4.0/rubygems.rb:304:in
'Gem.activate_and_load_bin_path'
    from /usr/local/bin/gollum:25:in '<main>'

/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:110:in
'Kernel#require': cannot load such file -- rackup/handler/thin (LoadError)
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:110:in
'Rackup::Handler.require_handler'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:50:in
'Rackup::Handler.get'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:74:in
'block in Rackup::Handler.pick'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:72:in
'Array#each'
    from
/usr/local/lib/ruby/gems/4.0/gems/rackup-2.3.1/lib/rackup/handler.rb:72:in
'Rackup::Handler.pick'
    from
/usr/local/lib/ruby/gems/4.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1631:in
'Sinatra::Base.run!'
    from /usr/local/lib/ruby/gems/4.0/gems/gollum-6.1.0/bin/gollum:294:in '<top
(required)>'
    from /usr/local/lib/ruby/site_ruby/4.0/rubygems.rb:304:in 'Kernel#load'
    from /usr/local/lib/ruby/site_ruby/4.0/rubygems.rb:304:in
'Gem.activate_and_load_bin_path'
    from /usr/local/bin/gollum:25:in '<main>' 
```

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

home | help

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