Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
`gem install --wrappers` parses scripts written in languages other than ruby. #830
It appears that the way
I wasn't sure if this was a bug (i.e., if one were even allowed to add a shell script to
If you install without using wrappers, it works fine, but with them:
/usr/local/ruby/bin/shebangalang:23:in `load': /usr/local/ruby/gems/github-linguist-2.10.11/bin/shebangalang:12: syntax error, unexpected ';', expecting :: or '[' or '.' (SyntaxError) for last; do :; done # So we can put a newline between files. ^ /usr/local/ruby/gems/github-linguist-2.10.11/bin/shebangalang:15: syntax error, unexpected tGVAR, expecting ']' [ "$(language "$0")" = "sh" ] || return 1; [ $# = 0 ] && return 0 ^ from /usr/local/ruby/bin/shebangalang:23:in `<main>
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I just realized this is kind of a once-in-a-lifetime, mutually recursive bug/fix:
In a sense, the bug occurs in a file that was written (completely coincidentally) to address the very same issue it caused (more generally). It could basically patch itself. Too bad