You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Default ruby path /usr/bin/ruby fails on Windows, and no message is shown #5
The default ruby_check_on_save_cmd is /usr/bin/ruby, which does not exist on Windows, and a failed start of Ruby gives no message.
Sublime Text build 4215, Windows, files from the repo master, with the settings-name problem from the other issue patched locally. Saving a .rb file then gave FileNotFoundError: [WinError 2] The system cannot find the file specified in the console only; no dialog or status message. (Ruby is not installed on this machine, so the syntax check itself was not run.)
The same would happen on macOS with Homebrew/rbenv Ruby, where ruby is not at /usr/bin/ruby.
Fix: default to "ruby" (found via PATH) and catch OSError around Popen, showing sublime.error_message that names the setting.
Activity