Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hanami-cli windows fork is unimplemented on this machine #1458

Closed
dsisnero opened this issue Oct 22, 2024 · 2 comments
Closed

hanami-cli windows fork is unimplemented on this machine #1458

dsisnero opened this issue Oct 22, 2024 · 2 comments

Comments

@dsisnero
Copy link

C:\windows_home\repos\github.com\dsisnero\hanami_mastery>bundle exec hanami assets compile
The `hanami` executable in the `hanami-cli_bulma` gem is being loaded, but it's also present in other gems (hanami-cli).
If you meant to run the executable for another gem, make sure you use a project specific binstub (`bundle binstub <gem_name>`).
If you plan to use multiple conflicting executables, generate binstubs for them and disambiguate their names.
C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta2/lib/hanami/cli/commands/app/assets/command.rb:85:in `fork': fork() function is unimplemented on this machine (NotImplementedError)
        from C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta2/lib/hanami/cli/commands/app/assets/command.rb:85:in `fork_child_assets_command'
        from C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta2/lib/hanami/cli/commands/app/assets/command.rb:61:in `block in call'
        from C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta2/lib/hanami/cli/commands/app/assets/command.rb:61:in `map'
        from C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta2/lib/hanami/cli/commands/app/assets/command.rb:61:in `call'
        from C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta2/lib/hanami/cli/commands/app/command.rb:40:in `call'
        from C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta2/lib/hanami/cli/commands/app/command.rb:40:in `call'
        from C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/gems/dry-cli-1.2.0/lib/dry/cli.rb:117:in `perform_registry'
        from C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/gems/dry-cli-1.2.0/lib/dry/cli.rb:66:in `call'
        from C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/bundler/gems/hanami-cli_bulma-4730db89c8f0/exe/hanami:11:in `<top (required)>'
        from C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/bin/hanami:25:in `load'
        from C:/windows_home/ruby/ruby-3.3.4-1/lib/ruby/gems/3.3.0/bin/hanami:25:in `<main>'

@timriley
Copy link
Member

Closing this as a dup of hanami/cli#219. We have an open PR to address this (hanami/cli#221) that I aim to have merged before the release of Hanami 2.2. Thanks for filing this anyway!

@pcopissa
Copy link

This fix does not work on a Windows platform. See hanami/cli#221 (comment) for a possible alternative solution.

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

No branches or pull requests

3 participants