Hear us Roar
tell application "Terminal"
do script "ruby test2.rb /Users/gauvins/Desktop/test.txt"
see below for some context. In a nutshell, direct calls from the Script Editor do not execute properly because paths are broken.
© 2014, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.