lib/croc.rb
def find_gem_home
  if File.exists?("/Library/Ruby/Gems/1.8/gems")
    return "/Library/Ruby/Gems/1.8/gems"
  end
end
# Figure out where rdocs are installed.
Figure out where rdocs are installed.
Figure out where rdocs are installed .
def find_gem_home
  if File.exists?("/Library/Ruby/Gems/1.8/gems")
    return "/Library/Ruby/Gems/1.8/gems"
  end
end
def find_gem_home if File . exists? ( "/Library/Ruby/Gems/1.8/gems" ) return "/Library/Ruby/Gems/1.8/gems" end end
Figure out where rdocs are installed.
Figure out where rdocs are installed .