Closed infews closed 2 years ago
I think this is fixed. But will need to try on a fresh Monterey system before closing.
I'm doing a fresh Big Sur install (Intel chipset) and came across potentially the same error.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/infews/workstation_repave/main/bin/bootstrap)"
sh: line 2: require: command not found
sh: line 3: require: command not found
sh: line 5: module: command not found
sh: line 6: class: command not found
sh: line 7: def: command not found
sh: -c: line 8: syntax error near unexpected token `('
sh: -c: line 8: ` stdout, stderr, status = Open3.capture3("xcode-select -p")'
% ruby --version
ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
Can you try bash -c?
It’s clear that the ruby shebang isn’t working. I donut think this is a ruby problem.
On Thu, Dec 30, 2021 at 12:54 AM Todd Sedano @.***> wrote:
I'm doing a fresh Big Sur install (Intel chipset) and came across potentially the same error.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/infews/workstation_repave/main/bin/bootstrap)"
sh: line 2: require: command not found sh: line 3: require: command not found sh: line 5: module: command not found sh: line 6: class: command not found sh: line 7: def: command not found sh: -c: line 8: syntax error near unexpected token
(' sh: -c: line 8:
stdout, stderr, status = Open3.capture3("xcode-select -p")'% ruby --version ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
— Reply to this email directly, view it on GitHub https://github.com/infews/workstation_repave/issues/6#issuecomment-1002883533, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADA4GF4UCZRFDG3VDOR63UTPXYVANCNFSM5GHPTNLQ . You are receiving this because you authored the thread.Message ID: @.***>
-- --dwf
the error message is on hitting the Ruby keywords. The shell seems to think it's an SH file and not Ruby, despite the shebang.