Thinking of installing this, as it's useful in my workflow. I don't have anything weird installed on my system for ruby ... but sudo gem install json gives me:
xcrun: Error: could not stat active Xcode path '/Applications/Xcode.app/Contents/Developer'. (No such file or directory)
Which part of XCode do I need to install? I'm on a MacBook Air, so a workaround would be great without the huge download that is Xcode ...
Cheers
Very cool, thanks for sharing this!
For what it's worth, I was able to modify the Automator workflow to use rvm's default ruby instead of the system ruby by changing the shell to /bin/zsh (bash should work also), moving all of the ruby code to an external file called "SearchLink.rb", and changing the script contents to:
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
ruby ~/path/to/SearchLink.rb
Brett: thanks so much for making my life a whole lot easier.
Josh: you kick ass. Thanks for this solution. I couldn't find out how to use the system's ruby since I rely on RVM forever. Outsourcing the actual ruby Scripts fits better into my workflow anyway. So, once again, thank you for making this work for me.