How to run Ruby scripts in Geektool?
问题 I want to run a Ruby script in Geektool that refreshes every 3 hours (so I set the refresh rate to 10,800 seconds) and the shell command in Geektool has this code in it: ruby "/file.rb" The file is located at root for convenience. Problem is, it won't run. I tried different commands, such as: /Users/userhere/.rvm/rubies/ruby-1.9.3-p0/bin/ruby /file.rb But it still doesn't work. I don't want it to use my /usr/bin/ruby installation (which, by default, is 1.8.7), I want it to use 1.9.3. So doing