Nanoc view LoadError after upgrading Ruby and Nanoc

38 views
Skip to first unread message

Dave Everitt

unread,
Aug 8, 2021, 9:00:45 AM8/8/21
to nanoc
Compile error after updating Nanoc and Ruby - initially just adsf was the missing gem, but after installing it, this looks more problematic:

---
LoadError: Couldn't find handler for: puma, thin, falcon, webrick.

===== STACK TRACE:

0. /usr/local/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/handler.rb:45:in `pick'
1. /usr/local/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/handler.rb:60:in `default'
2. /usr/local/lib/ruby/gems/3.0.0/gems/adsf-1.4.6/lib/adsf/server.rb:77:in `build_handler'
3. /usr/local/lib/ruby/gems/3.0.0/gems/adsf-1.4.6/lib/adsf/server.rb:17:in `run'
4. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-cli-4.12.2/lib/nanoc/cli/commands/view.rb:37:in `run'
5. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-cli-4.12.2/lib/nanoc/cli/command_runner.rb:15:in `block in call'
6. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-cli-4.12.2/lib/nanoc/cli/error_handler.rb:15:in `block in handle_while'
7. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-cli-4.12.2/lib/nanoc/cli/error_handler.rb:57:in `handle_while'
8. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-cli-4.12.2/lib/nanoc/cli/error_handler.rb:15:in `handle_while'
9. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-cli-4.12.2/lib/nanoc/cli/command_runner.rb:14:in `call'
10. /usr/local/lib/ruby/gems/3.0.0/gems/cri-2.15.11/lib/cri/command_dsl.rb:294:in `block in runner'
11. /usr/local/lib/ruby/gems/3.0.0/gems/cri-2.15.11/lib/cri/command.rb:362:in `run_this'
12. /usr/local/lib/ruby/gems/3.0.0/gems/cri-2.15.11/lib/cri/command.rb:298:in `run'
13. /usr/local/lib/ruby/gems/3.0.0/gems/cri-2.15.11/lib/cri/command.rb:316:in `run'
14. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-cli-4.12.2/lib/nanoc/cli.rb:88:in `block in run'
15. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-cli-4.12.2/lib/nanoc/cli/error_handler.rb:15:in `block in handle_while'
16. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-cli-4.12.2/lib/nanoc/cli/error_handler.rb:57:in `handle_while'
17. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-cli-4.12.2/lib/nanoc/cli/error_handler.rb:15:in `handle_while'
18. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-cli-4.12.2/lib/nanoc/cli.rb:86:in `run'
19. /usr/local/lib/ruby/gems/3.0.0/gems/nanoc-4.12.2/bin/nanoc:18:in `<top (required)>'
20. /usr/local/bin/nanoc:23:in `load'

===== VERSION INFORMATION:

Nanoc 4.12.2 © 2007–2021 Denis Defreyne.
Running ruby 3.0.2 (2021-07-07) on x86_64-darwin18 with RubyGems 3.2.22.

Dave Everitt

unread,
Aug 8, 2021, 9:08:02 AM8/8/21
to nanoc
Sorry: LoadError, NOT compile error!

Dave Everitt

unread,
Dec 28, 2021, 11:55:46 AM12/28/21
to nanoc
UPDATE: just needs gem install webrick. The error is a Ruby 3* issue and is covered in the Nanoc docs.
Reply all
Reply to author
Forward
0 new messages