I have an application where I would like to issue Ruby commands from a
Rails application and pipe the resulting stuff from the command line
into a Rails variable.
Does anyone have a good way to do this?
Call to Ruby Program:
ruby callFunction.rb some_params ( where 'some_params' is given from a form in the Rails app)
result - answer1
result - answer2
Ideally then I could have these results stored in a variable to put in
Thanks, let me know if this is not clear!