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
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:I also tried running it under the old architecture with
arch -x86_64 gitshand got the following error:arch: posix_spawnp: gitsh: Bad CPU type in executable