Skip to content

gitsh doesn't work on Apple Silicon #384

@brandoncordell

Description

@brandoncordell

I just got an M1 MacBook Pro and installed my preferred development tools but I'm not able to get gitsh working.

Here's the error I get when running gitsh:

Traceback (most recent call last):
        5: from /opt/homebrew/Cellar/gitsh/0.14/share/gitsh/ruby/gitsh.rb:6:in `<main>'
        4: from /opt/homebrew/Cellar/gitsh/0.14/share/gitsh/ruby/gitsh.rb:6:in `require'
        3: from /opt/homebrew/Cellar/gitsh/0.14/share/gitsh/ruby/lib/gitsh/environment.rb:3:in `<top (required)>'
        2: from /opt/homebrew/Cellar/gitsh/0.14/share/gitsh/ruby/lib/gitsh/environment.rb:3:in `require'
        1: from /opt/homebrew/Cellar/gitsh/0.14/share/gitsh/ruby/lib/gitsh/line_editor.rb:1:in `<top (required)>'
/opt/homebrew/Cellar/gitsh/0.14/share/gitsh/ruby/lib/gitsh/line_editor.rb:1:in `require': dlopen(/opt/homebrew/Cellar/gitsh/0.14/share/gitsh/ruby/lib/gitsh/line_editor_native.bundle, 0x0009): missing compatible arch in /opt/homebrew/Cellar/gitsh/0.14/share/gitsh/ruby/lib/gitsh/line_editor_native.bundle - /opt/homebrew/Cellar/gitsh/0.14/share/gitsh/ruby/lib/gitsh/line_editor_native.bundle (LoadError)

I also tried running it under the old architecture with arch -x86_64 gitsh and got the following error:

arch: posix_spawnp: gitsh: Bad CPU type in executable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions