Created
August 6, 2025 08:48
-
-
Save uberboom/fdf2bfef98430b37bad37ec2daaf8b05 to your computer and use it in GitHub Desktop.
Make TextMate work on Apple Silicon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # edit file ~/Library/Application Support/TextMate/Ruby/1.8.7/bin/ruby18 | |
| # check for ruby installed by macos (on macOS 15.5 ruby 2.6 is installed), | |
| # this might break some bundles | |
| if [[ -e /usr/bin/ruby ]]; then | |
| exec /usr/bin/ruby "$@" | |
| elif [[ -e /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby ]]; then | |
| exec /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby "$@" | |
| elif [[ ! -e ~/Library/Application\ Support/TextMate/Ruby/1.8.7/bin/ruby ]]; then | |
| # ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment