Hazel and Ruby Versions (using RVM)

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Hazel and Ruby Versions (using RVM)

Postby carolina96 » Sun Nov 20, 2011 8:27 pm

I noticed that when I "Run shell script" and point it to a ruby file it runs the system ruby, even though I'm using a Ruby Version Manager (RVM) in my terminal. What is the best way to specify which version of ruby runs in Hazel?
carolina96
 
Posts: 1
Joined: Sat Nov 19, 2011 2:44 pm

Re: Hazel and Ruby Versions (using RVM)

Postby Mr_Noodle » Mon Nov 21, 2011 1:00 pm

With shell scripts, it's always best to specify the full path to any programs. You can't assume what environment variables will be set.
Mr_Noodle
Site Admin
 
Posts: 2910
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest



Copyright © 2006-2012 Noodlesoft, LLC, All Rights Reserved. Mac and the Mac logo are trademarks of Apple Computer, Inc., registered in the U.S. and other countries.