Skip to content

[bug] phtheme errors out from a dependency when running phtheme configure API_KEY #1

@conoremclaughlin

Description

@conoremclaughlin

How to recreate

  • Install phtheme with gem install posthaven_theme
  • run phtheme configure API_KEY

Environment

  • This was run on MacOSX Tahoe 26.0.1 with rbenv and ruby 3.4.7 / gem 3.6.9
  • Also attempted with homebrew as the ruby installation and still failed

Error output

/Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/gems/3.4.0/gems/thor-0.20.3/lib/thor/error.rb:109:in '<class:Thor>': uninitialized constant DidYouMean::SPELL_CHECKERS (NameError)

    DidYouMean::SPELL_CHECKERS.merge!(
              ^^^^^^^^^^^^^^^^
Did you mean?  DidYouMean::SpellChecker
        from /Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/gems/3.4.0/gems/thor-0.20.3/lib/thor/error.rb:1:in '<top (required)>'
        from <internal:/Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
        from <internal:/Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
        from /Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/gems/3.4.0/gems/thor-0.20.3/lib/thor/base.rb:4:in '<top (required)>'
        from <internal:/Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
        from <internal:/Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
        from /Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/gems/3.4.0/gems/thor-0.20.3/lib/thor.rb:2:in '<top (required)>'
        from <internal:/Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
        from <internal:/Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
        from /Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/gems/3.4.0/gems/posthaven_theme-0.1.3/lib/posthaven_theme/cli.rb:1:in '<top (required)>'
        from <internal:/Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
        from <internal:/Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
        from /Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/gems/3.4.0/gems/posthaven_theme-0.1.3/bin/phtheme:21:in 'block in <top (required)>'
        from /Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/gems/3.4.0/gems/posthaven_theme-0.1.3/bin/phtheme:8:in 'Object#fallback_load_path'
        from /Users/conormclaughlin/.rbenv/versions/3.4.7/lib/ruby/gems/3.4.0/gems/posthaven_theme-0.1.3/bin/phtheme:19:in '<top (required)>'
        from /Users/conormclaughlin/.rbenv/versions/3.4.7/bin/phtheme:25:in 'Kernel#load'
        from /Users/conormclaughlin/.rbenv/versions/3.4.7/bin/phtheme:25:in '<main>'

Any help is appreciated! Biggest thing is changing assets like the favicon. Other files I can edit in the GUI on the posthaven website. If the project is now mostly deprecated and I should use a platform like substack, please do let me know! Much thanks regardless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions