Skip to content

Instantly share code, notes, and snippets.

@cieux1
Created September 13, 2014 00:38
Show Gist options
  • Select an option

  • Save cieux1/2c462235aa8e81dc7d2b to your computer and use it in GitHub Desktop.

Select an option

Save cieux1/2c462235aa8e81dc7d2b to your computer and use it in GitHub Desktop.
open terminal and execute ruby file
on run {input, parameters}
tell application "Terminal"
activate
do script "cd /path/to/the/ruby/file && ruby do_that.rb && open "http://google.com" && exit"
end tell
return input
end run
@cieux1
Copy link
Author

cieux1 commented Sep 13, 2014

for automator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment