[TxMt] Re: Simple question re. running a Ruby program

Adam Sharp adsharp at me.com
Tue Jan 10 03:09:23 UTC 2012


On 10/01/2012, at 1:48 PM, Marc Chanliau wrote:

> I'm using Txmate 1.5.10 on Lion.
> 
> [...]
> 
> First I downloaded Ruby 1.9.2 from RVM and I modified my path in .profile as follows:
> PATH=$PATH:.:~/.rvm/rubies/ruby-1.9.2-p290
> export PATH
> Could that be the reason I'm having problems?

This won't affect TM, which keeps its own PATH variable rather than sourcing it from your profile: http://wiki.macromates.com/Troubleshooting/TextMateAndThePath.

> I've changed a few things in my set up, though, so that might be the reason (?).


Did you modify TM's PATH variable in Preferences > Advanced > Shell Variables?

> I've always been able to run Ruby programs from within Txmate, now I can't.

Is the problem that TM can't locate your Ruby executable? If the PATH isn't your problem, please provide the error message you're getting.

Best,

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20120110/e9199744/attachment.html>


More information about the textmate mailing list