[TxMt] Re: Simple question re. running a Ruby program
marc.chanliau at gmail.com
Tue Jan 10 05:01:49 UTC 2012
Thanks for the answer, Adam.
I've followed the instructions you provided. My path is in Txmate
I have the PATH variable = /usr/bin:/bin:/usr/sbin:/sbin
I have the TM_RUBY variable = /Users/marcc/.rvm/rubies/ruby-1.9.2-p290/bin
When I run a program, I don't get any error, there's simply no output. The
only visible message is "Program exited with code #1 after 0.00 seconds"
On Mon, Jan 9, 2012 at 7:09 PM, Adam Sharp <adsharp at me.com> wrote:
> 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:
> 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:
> 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
> 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.
> textmate mailing list
> textmate at lists.macromates.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the textmate