I don't want to do this anymore. What is the easiest way to just start a
standalone ruby script from my rails application. Keep in mind I don't
need any progress reports and I don't need to know when it finishes. I
just need to start the script and that's it and let it run on its own
seperate from rails.
How can I achieve this? I do need to pass 2 parameters (string values)
to the script.
The simplest solution might be fork and exec. Something like this
should work on Unix/Linux, but probably not on Windows:
exec "some_sript_on_path.rb", "arg1", "arg2"