[TxMt] Re: Launch Current File with Ruby at Terminal

Tom Wardrop tom at tomwardrop.com
Mon Sep 20 11:28:07 UTC 2010


Hi All,

I'm looking for this functionality. I was under the assumation that doing
such a thing would be relatively simple, I just don't know enough about
Bundles to be able to craft it myself. Does anyone know how to launch the
currently active textmate file in a ruby terminal?

On Wed, Sep 8, 2010 at 9:12 AM, Tom Wardrop <tom at tomwardrop.com> wrote:

> Hi All,
>
> I'm currently just starting to get into TextMate on my Mac, and
> E-TextEditor on Windows. One thing I'd like to be able to do is launch the
> currently active ruby file in Ruby at the terminal, as opposed the to the
> default "RubyMate". I essentially want a command prompt to open and the
> following command to be run: /path/to/ruby "/path/to/current/ruby/file".
> Does anyone know of a simple command to do this so I can add to my Ruby
> "bundle". Note, I want to manually specify the path to my ruby executable in
> the command. I don't want to use the Ruby version bundled with TextMate.
>
> Cheers,
> Tom
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20100920/1a9d5e52/attachment.html>


More information about the textmate mailing list