The current TextMate ruby package hosted at https://archive.textmate.org/ruby/ruby_1.8.7.tbz.
file ~/Library/Application\ Support/TextMate/Ruby/1.8.7/bin/ruby
ruby: Mach-O 64-bit executable x86_64
On Apple Silicon (M1/M2) machines, users must either run under Rosetta or attempt to compile Ruby 1.8.7 themselves.
An official ARM64 build would simplify setup and ensure native performance for all legacy bundles that depend on Ruby 1.8.
|
/usr/bin/curl -fsSL --connect-timeout 10 https://archive.textmate.org/ruby/ruby_1.8.7.tbz 2>> ~/Library/Logs/TextMate\ Ruby\ Preparation.log | /usr/bin/tar xz -m 2>> ~/Library/Logs/TextMate\ Ruby\ Preparation.log |
Implications
#!/usr/bin/env ruby18
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/executor"
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/save_current_document"
TextMate.save_current_document
TextMate::Executor.make_project_master_current_document
TextMate::Executor.run(ENV["TM_SHELL"] || ENV["SHELL"] || "bash", ENV["TM_FILEPATH"])
Shell scripts run under Rosetta ("Run Script" command).