Skip to content

Instantly share code, notes, and snippets.

@uberboom
Created August 6, 2025 08:48
Show Gist options
  • Select an option

  • Save uberboom/fdf2bfef98430b37bad37ec2daaf8b05 to your computer and use it in GitHub Desktop.

Select an option

Save uberboom/fdf2bfef98430b37bad37ec2daaf8b05 to your computer and use it in GitHub Desktop.
Make TextMate work on Apple Silicon
# 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