I am using Ruby here because the external API I need is written in Ruby.
so I am using:
Code: Select all
put shell ("./ruby.rb" && item1 && item2 & " ") into field "results"
Now this is working fine, but it requires that the Ruby file be in the same directory as the application.
Question: Is there a BETTER way to do this? Is there is a better way to send/receive data to this Ruby file?
Question2(Mac): How can I hide the Ruby.rb file within the .app package?