Skip to content

tm-ctags bundle does not work when ruby 1.9 is in path #1

@dsidorov

Description

@dsidorov

I've both ruby-1.9 (/opt/local/bin/ruby) and ruby-1.8 (/usr/bin/ruby) installed, and ruby-1.9 comes first in PATH. Any tm-ctags command fails with ".../tmctags.rb:26: invalid multibyte char (US-ASCII)" error. The TM_RUBY env variable is set to /usr/bin/ruby in TextMate preferences, and that works for other bundled.

As far as I can tell, the convention to workaround ruby 1.8 vs 1.9 incompatibilities in TextMate bundles is to use "${TM_RUBY:-ruby} /path/to/my-script.rb ..." instead of "/path/to/my-script.rb ..." as command string in .tmCommand files.

I can send out a patch that fixes this problem ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions