Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Validate Syntax (for ERb) shows wrong version #6

Closed
sorbits opened this Issue Nov 19, 2010 · 0 comments

Comments

Projects
None yet
2 participants
Owner

sorbits commented Nov 19, 2010

The Validate Syntax command (for ERb) is written in ruby and shows the version of the host interpreter (the ruby found via PATH) as the version used to validate the source.

The source however will be validated with the version of Ruby (ERb) specified using TM_ERB.

We are moving toward actually not suggesting users alter their PATH but only set TM_RUBY, TM_ERB, etc. to alter what version should be used (for user scripts).

The motivation is that by altering the PATH the user is also changing the version of ruby used for TextMate commands, and many of these have not been tested with ruby 1.9, ruby enterprise edition, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment