0

I'm trying to use Ruby to write a couple scripts for geektool. However, I've found that geektool can't process

require "some_gem"

Where does geektool execute shell commands? Is it possible to make gems available to to it there, or force the scripts to run in the normal shell environment? Someone attempted to answer this question [here][1].

    /Users/Dave/.rvm/bin/rvm use 1.9.3-p0 > /dev/null
    /Users/Dave/.rvm/rubies/ruby-1.9.3-p0/bin/ruby ~/foo.rb

However, this fails with RVM throwing an error, that it is not an application, and that I must enable login.

I'd really appreciate some help on getting Ruby gems to work in geektool

the Tin Man
  • 158,662
  • 42
  • 215
  • 303
jackmac92
  • 75
  • 1
  • 8

0 Answers0