Re: How to config textmate to use ruby1.9
- From: Vicente Bosch Campos <vbosch@xxxxxxxxx>
- Date: Tue, 12 Apr 2011 01:11:33 -0500
Hi,
I think you need to modify the PATH variable inside the preferences dialog.
TextMate Menu -> Preferences -> Advanced Tab -> Shell Variables Sub Tab and add the PATH variable adding to it the path to your ruby 1.9.2
I think there might be a cleaner way to do this... but it works for me.
Kind regards,
V.
On Dec 7, 2010, at 7:03 PM, Zhijie Wu wrote:
Hi all:
I installed textmate1.5.9 and ruby 1.9.2 on my OSX SL.
Now I met a problem when i use command-R to run my ruby script in
textmate. It always refers to ruby 1.8 to run the script.I searched some
methods in internet to resolve the problem.I tried to set var
TM_RUBY=/usr/local/bin/ruby.But this can't help.I also run
/usr/local/bin/ruby -v in shell.He tells me that he is ruby 1.9! Then
how can i do now?
I am a newbie in this forum. Can anyone help me ? Thanks. And say sorry
for my poor English.
--
Posted via http://www.ruby-forum.com/.
.
Relevant Pages
- Re: Why do some methods names which replace the content in place doesnt have the "!" sign?
... Most methods in Rudy do not modify the caller but return a new object. ... In Ruby most the classes that have! ... If you want B&D then go ahead and use Java but the reason that people like Ruby is that they can get things done without the language getting in the way. ... (comp.lang.ruby) - Re: Why do some methods names which replace the content in place doesnt have the "!" sign?
... dangerous, apart of modifying state, which is "modifying instance variable". ... Thus fred.gsubdoes not modify fred, it returns a new object that is the result of gsubbeing applied to fred. ... Ruby is a dynamic language, ... If you want B&D then go ahead and use Java but the reason that people like Ruby is that they can get things done without the language getting in the way. ... (comp.lang.ruby) - Re: Does Ruby have reference parameter?
... in order to modify a variable being passed into a function we do ... I wonder is there a way to do something like this in Ruby or a similar ... an array containing a single value instead. ... This is more awkward in ruby, ... (comp.lang.ruby) - Re: injecting dynamic methods into a class
... |> Singleton classes in Ruby are: ... |> * created run time on demand ... |scope issue though. ... what do you mean by 'their methods may modify ... (comp.lang.ruby) - Re: Configuring Textmate for Ruby 1.9.1
... I had gone into my Shell Variables under preferences and set the ... it ran on Ruby 1.9.1. ... a "Command Error at line 6" pointing to some file in /tmp. ... (comp.lang.ruby) |
|