Possible bug in Nanoc under Ruby 3.0

23 views
Skip to first unread message

Pito Salas

unread,
Jan 12, 2022, 10:03:33 AMJan 12
to na...@googlegroups.com

Hi there,

This started happening as I was editing my fairly huge Nanoc site. I haven't narrowed it down to be able to tell you what triggerred it. But I was in the process of renaming and reorganizing files. This happens after I totally deleted the "output" directory. Still it smells as if I created a circular reference but not sure. Maybe you can see it!

nanoc
Loading site… done
Compiling site…
/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/hamster-3.0.0/lib/hamster/trie.rb:18:in `initialize': Exception in finalizer #<Proc:0x000000010ecddac0 /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ref-2.0.0/lib/ref/soft_reference.rb:28 (lambda)> (StructuredWarnings::BuiltInWarning)
/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ref-2.0.0/lib/ref/soft_reference.rb:29:in `synchronize': can't be called from trap context (ThreadError)
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ref-2.0.0/lib/ref/soft_reference.rb:29:in `block in <class:SoftReference>'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/hamster-3.0.0/lib/hamster/trie.rb:18:in `initialize'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/hamster-3.0.0/lib/hamster/set.rb:80:in `new'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/hamster-3.0.0/lib/hamster/set.rb:80:in `initialize'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/hamster-3.0.0/lib/hamster/immutable.rb:14:in `new'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/hamster-3.0.0/lib/hamster/immutable.rb:14:in `new'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/checksummer.rb:64:in `update'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/checksummer.rb:44:in `calc'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/processing_actions/filter.rb:21:in `serialize'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/action_sequence.rb:44:in `map'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/action_sequence.rb:44:in `serialize_uncached'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/action_sequence.rb:39:in `serialize'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ddmemoize-1.0.0/lib/ddmemoize.rb:89:in `block in memoize'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/outdatedness_rules/rules_modified.rb:28:in `rules_modified?'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/outdatedness_rules/rules_modified.rb:11:in `apply'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/outdatedness_rule.rb:12:in `block in call'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/instrumentor.rb:10:in `call'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/outdatedness_rule.rb:11:in `call'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/outdatedness_checker.rb:85:in `block in apply_rules'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/outdatedness_checker.rb:81:in `each'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/outdatedness_checker.rb:81:in `inject'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/outdatedness_checker.rb:81:in `apply_rules'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/outdatedness_checker.rb:61:in `outdatedness_status_for'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ddmemoize-1.0.0/lib/ddmemoize.rb:89:in `block in memoize'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/outdatedness_checker.rb:142:in `outdatedness_reasons_for'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/outdatedness_checker.rb:137:in `outdated?'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/compilation_stages/determine_outdatedness.rb:44:in `outdated?'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/compilation_stages/determine_outdatedness.rb:34:in `block in select_outdated_items'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/item_rep_repo.rb:28:in `each'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/item_rep_repo.rb:28:in `each'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/compilation_stages/determine_outdatedness.rb:34:in `select'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/compilation_stages/determine_outdatedness.rb:34:in `select_outdated_items'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/compilation_stages/determine_outdatedness.rb:17:in `run'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/compilation_stage.rb:9:in `block in call'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/instrumentor.rb:10:in `call'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/compilation_stage.rb:8:in `call'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/compiler.rb:67:in `run_until_precompiled'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-core-4.12.3/lib/nanoc/core/compiler.rb:79:in `run_until_end'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/commands/compile.rb:45:in `block in run_once'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/compile_listeners/abstract.rb:38:in `run_while'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/commands/compile.rb:44:in `run_once'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/commands/compile.rb:23:in `run'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/command_runner.rb:15:in `block in call'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/error_handler.rb:15:in `block in handle_while'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/error_handler.rb:57:in `handle_while'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/error_handler.rb:15:in `handle_while'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/command_runner.rb:14:in `call'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/cri-2.15.11/lib/cri/command_dsl.rb:294:in `block in runner'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/cri-2.15.11/lib/cri/command.rb:362:in `run_this'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/cri-2.15.11/lib/cri/command.rb:298:in `run'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/cri-2.15.11/lib/cri/command.rb:316:in `run'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli.rb:88:in `block in run'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/error_handler.rb:15:in `block in handle_while'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/error_handler.rb:57:in `handle_while'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli/error_handler.rb:15:in `handle_while'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-cli-4.12.3/lib/nanoc/cli.rb:86:in `run'
from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-4.12.3/bin/nanoc:18:in `<top (required)>'
from /Users/pitosalas/.rbenv/versions/3.1.0/bin/nanoc:25:in `load'
from /Users/pitosalas/.rbenv/versions/3.1.0/bin/nanoc:25:in `<main>'
create [0.00s] output/bootstrap/bootstrap-icons-1.0.0/bookshelf.svg
create [0.00s] output/bootstrap/bootstrap-icons-1.0.0/bootstrap-fill.svg
create [0.00s] output/bootstrap/bootstrap-icons-1.0.0/bootstrap-icons.svg
Pito Salas
Faculty, Computer Science
Brandeis University

Denis Defreyne

unread,
Jan 15, 2022, 4:05:17 AMJan 15
to noreply-spamdigest
Hey Pito,

I’ve noticed this issue as well. I’ve created a GitHub issue for it here: https://github.com/nanoc/nanoc/issues/1559

So far, I’ve not been able to figure out what causes it. It seems to be harmless, potentially just a memory leak rather than incorrect behavior.

Hope this helps,

Denis Defreyne
[dəˈni] • pronouns: he/him

he...@denisdefreyne.com
https://denisdefreyne.com
> --
> You received this message because you are subscribed to the Google
> Groups "nanoc" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to nanoc+un...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nanoc/2A22D21A-0294-4091-BCC3-4985C775EFED%40brandeis.edu.

Pito Salas

unread,
Jan 15, 2022, 6:56:03 AMJan 15
to na...@googlegroups.com
Thanks, Denis. I fell back to ruby 3.0.3 which makes the problem go away.

Pito Salas
Computer Science
Brandeis Univeristy


> On Jan 15, 2022, at 4:05 AM, Denis Defreyne <goo...@denisdefreyne.com> wrote:
>
> Hey Pito,
> To view this discussion on the web visit https://groups.google.com/d/msgid/nanoc/938b1e67-6f0d-4b41-b645-42961068b4cf%40www.fastmail.com.

Denis Defreyne

unread,
Jan 15, 2022, 7:33:00 AMJan 15
to noreply-spamdigest
Hi Pito,

The just-released Nanoc 4.12.4 should fix this.

Best,

Denis Defreyne
[dəˈni] • pronouns: he/him

he...@denisdefreyne.com
https://denisdefreyne.com

> https://groups.google.com/d/msgid/nanoc/B9A42A58-672D-4153-A29D-090992E6A94C%40gmail.com.

Pito Salas

unread,
Jan 15, 2022, 9:58:03 AMJan 15
to na...@googlegroups.com
Hi Dennis,

Not yet, with 3.1 I get:

 09:50:26 - INFO - Bye bye...
~/mydev/cosi119r (master) cg reset; cg compile       
/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:16:in `<class:Check>': uninitialized constant Nanoc::Checking::Check::DDMemoize (NameError)

      DDMemoize.activate(self)
      ^^^^^^^^^
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:13:in `<module:Checking>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:4:in `<module:Nanoc>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:3:in `<top (required)>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking.rb:12:in `require_relative'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking.rb:12:in `<top (required)>'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/zeitwerk-2.5.3/lib/zeitwerk/kernel.rb:35:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc-checking.rb:3:in `<top (required)>'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/zeitwerk-2.5.3/lib/zeitwerk/kernel.rb:35:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-4.12.4/lib/nanoc.rb:38:in `<top (required)>'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/coursegen-0.9.20/lib/coursegen/cli.rb:5:in `<top (required)>'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/coursegen-0.9.20/bin/cg:2:in `<top (required)>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/bin/cg:25:in `load'
        from /Users/pitosalas/.rbenv/versions/3.1.0/bin/cg:25:in `<main>'
/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:16:in `<class:Check>': uninitialized constant Nanoc::Checking::Check::DDMemoize (NameError)

      DDMemoize.activate(self)
      ^^^^^^^^^
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:13:in `<module:Checking>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:4:in `<module:Nanoc>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:3:in `<top (required)>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking.rb:12:in `require_relative'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking.rb:12:in `<top (required)>'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/zeitwerk-2.5.3/lib/zeitwerk/kernel.rb:35:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc-checking.rb:3:in `<top (required)>'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/zeitwerk-2.5.3/lib/zeitwerk/kernel.rb:35:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-4.12.4/lib/nanoc.rb:38:in `<top (required)>'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/coursegen-0.9.20/lib/coursegen/cli.rb:5:in `<top (required)>'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/coursegen-0.9.20/bin/cg:2:in `<top (required)>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/bin/cg:25:in `load'
        from /Users/pitosalas/.rbenv/versions/3.1.0/bin/cg:25:in `<main>'
Pito Salas
Faculty, Computer Science
Brandeis University

Denis Defreyne

unread,
Jan 15, 2022, 11:41:32 AMJan 15
to noreply-spamdigest
You'll need to update the 'nanoc-checking' gem as well.

And possibly install or update the 'psych' gem too — it looks like I didn't quite specify the dependency version constraints on this release properly.

Hope this helps,

Denis Defreyne
[dəˈni] • pronouns: he/him



Pito Salas

unread,
Jan 15, 2022, 5:16:12 PMJan 15
to na...@googlegroups.com
Hi Denis,

Not yet:



*** LOCAL GEMS ***

nanoc (4.12.4)
nanoc-checking (1.0.1)
nanoc-cli (4.12.4)
nanoc-core (4.12.4)
nanoc-deploying (1.0.1)
nanoc-live (1.0.0)
psych (default: 4.0.3)
~/mydev/cosi119r (master) nanoc compile
/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:16:in `<class:Check>': uninitialized constant Nanoc::Checking::Check::DDMemoize (NameError)

      DDMemoize.activate(self)
      ^^^^^^^^^
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:13:in `<module:Checking>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:4:in `<module:Nanoc>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking/check.rb:3:in `<top (required)>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking.rb:12:in `require_relative'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc/checking.rb:12:in `<top (required)>'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/zeitwerk-2.5.3/lib/zeitwerk/kernel.rb:35:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-checking-1.0.1/lib/nanoc-checking.rb:3:in `<top (required)>'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/zeitwerk-2.5.3/lib/zeitwerk/kernel.rb:35:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-4.12.4/lib/nanoc.rb:38:in `<top (required)>'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/pitosalas/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/nanoc-4.12.4/bin/nanoc:4:in `<top (required)>'
        from /Users/pitosalas/.rbenv/versions/3.1.0/bin/nanoc:25:in `load'
        from /Users/pitosalas/.rbenv/versions/3.1.0/bin/nanoc:25:in `<main>'
~/mydev/cosi119r (master) gem list psych



Denis Defreyne

unread,
Jan 17, 2022, 2:31:08 PMJan 17
to noreply-spamdigest
Hi Pito,

You’ll need nanoc-checking 1.0.2 — looks like you have 1.0.1 installed. Can you update and verify that it works?

Best,

Denis Defreyne
[dəˈni] • pronouns: he/him



Pito Salas

unread,
Jan 17, 2022, 6:04:47 PMJan 17
to na...@googlegroups.com
Hi Denis

Yes, it worked!

By the way Denis, what % of your time do you spend supporting and enhancing Nanoc? I still would like to contribute financially somehow because of all the benefit I've gotten and continue to get from Nanoc!

Pito Salas
Faculty, Computer Science
Brandeis University

Denis Defreyne

unread,
Feb 12, 2022, 5:23:30 AMFeb 12
to noreply-spamdigest
Hey Pito,

Thanks for that :) These days, I don’t spend too much time on Nanoc, mostly because it’s quite stable and does just what I want it to do.

I no longer have the donation button on the Nanoc web site, and my recommendation is to give money to causes that need it more than I do. I have a full-time job that provides well for me. Médecins Sans Frontières and the International Rescue Committee are my go-tos.

Cheers,

Denis Defreyne
[dəˈni] • pronouns: he/him

Pito Salas

unread,
Feb 12, 2022, 4:45:23 PMFeb 12
to na...@googlegroups.com
Both those charities are on my donation list too! They are two of the ones I give the most to, in fact. Thanks!

Pito Salas
Faculty, Computer Science
Brandeis University
Reply all
Reply to author
Forward
0 new messages