From: John Smith Date: 2010-10-17T11:21:11+09:00 Subject: Re: check contents of a pointer. I don't understand what you mean by "setting an environment variable in TextMate" could you explain how you do this.. I also happen to use Textmate for ruby. Ted. Josh Cheek wrote in post #954841: > On Sat, Oct 16, 2010 at 1:10 PM, John Smith wrote: > >> >> > In all honesty, use rvm (http://rvm.beginrescueend.com/). > > It takes a little getting used to if you aren't that familiar with Unix, > but > after you figure out how it works, it is really nice. You can install > all > the rubies (how I got jruby, macruby, rubinius, MRI 1.8.6, 1.8.7, 1.9.1, > 1.9.2) Then it is just "$ rvm use 1.9.1" to switch to that one. Drop > that in > your ~/.profile (or ~/.bash_profile if you're on Leopard) and it will > always > use that version. Takes a little more work to set it up with your > editor, > but not too bad for TextMate (just set an environment variable in TM, > and > add 1 line to your profile) > > Also lets you set up specific versions for specific projects, and even > specific sets of gems for that project, so its gems are segregated from > the > rest of the system. Manages switching rubies and gems for you when you > move > into and out of these project directories. -- Posted via http://www.ruby-forum.com/.