Skip to content

Conversation

CloCkWeRX
Copy link
Collaborator

@CloCkWeRX ➜ /workspaces/growstuff (90bd70603) $ haml-i18n-extractor app/views/activities/
You must choose either one of interactive mode or non interactive mode.
See haml-i18n-extractor --help below:

  haml-i18n-extractor --version # print version of this gem
  haml-i18n-extractor --help    # this message
  haml-i18n-extractor <path> [--interactive|--non-interactive]
[--other-options]

  See options list (short options available next to long option):
      --interactive, -i:   interactive mode
  --non-interactive, -n:   non interactive mode
    --yaml-file, -y <s>:   yaml file path, defaults to config/locales/en.yml
   --i18n-scope, -s <s>:   top level i18n scope, defaults to :en
@CloCkWeRX ➜ /workspaces/growstuff (90bd70603) $ haml-i18n-extractor -n app/views/activities/
overwrite-d file /workspaces/growstuff/app/views/activities/_actions.haml

/usr/local/rvm/gems/default/gems/haml-i18n-extractor-0.5.9/lib/haml-i18n-extractor/extraction/extractor.rb:167:in `validate_haml': uninitialized constant Haml::Options (NameError)

        parser = Haml::Parser.new(haml, Haml::Options.new)
                                            ^^^^^^^^^
Did you mean?  OptionParser
        from /usr/local/rvm/gems/default/gems/haml-i18n-extractor-0.5.9/lib/haml-i18n-extractor/extraction/extractor.rb:32:in `initialize'
        from /usr/local/rvm/gems/default/gems/haml-i18n-extractor-0.5.9/lib/haml-i18n-extractor/flow/workflow.rb:69:in `new'
        from /usr/local/rvm/gems/default/gems/haml-i18n-extractor-0.5.9/lib/haml-i18n-extractor/flow/workflow.rb:69:in `process'
        from /usr/local/rvm/gems/default/gems/haml-i18n-extractor-0.5.9/lib/haml-i18n-extractor/flow/workflow.rb:50:in `block in run'
        from /usr/local/rvm/gems/default/gems/haml-i18n-extractor-0.5.9/lib/haml-i18n-extractor/flow/workflow.rb:49:in `each'
        from /usr/local/rvm/gems/default/gems/haml-i18n-extractor-0.5.9/lib/haml-i18n-extractor/flow/workflow.rb:49:in `run'
        from /usr/local/rvm/gems/default/gems/haml-i18n-extractor-0.5.9/lib/haml-i18n-extractor/flow/cli.rb:44:in `start'
        from /usr/local/rvm/gems/default/gems/haml-i18n-extractor-0.5.9/bin/haml-i18n-extractor:18:in `<top (required)>'
        from /usr/local/rvm/gems/default/bin/haml-i18n-extractor:25:in `load'
        from /usr/local/rvm/gems/default/bin/haml-i18n-extractor:25:in `<main>'

@CloCkWeRX CloCkWeRX merged commit 8385beb into dev Sep 1, 2025
16 checks passed
@CloCkWeRX CloCkWeRX deleted the remove-dead-gems branch September 1, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant