Skip to content
This repository has been archived by the owner on Nov 12, 2017. It is now read-only.

Specify Ruby version for scripts using Ruby 1.8 #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

szafranek
Copy link

Summary

This pull request makes the bundle compatible with Texmate 2 running on newer versions of macOS, where the default Ruby version is 2.x, i.e. every version starting from Mavericks.

Details

Commands used by the bundle rely on Ruby 1.8.x. This Ruby version is not bundled with newer versions of macOS. Texmate 2 provides this older Ruby version for compatibility with older bundles. However, the bundles may need to opt in by specifying ruby18 in the shebang line.

This bundle was showing the error:

ruby: warning: -K is specified; it is for 1.8 compatibility and may cause odd behavior.

This pull requests enforces the use of Ruby 1.8 and makes all commands work again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant