Performing arbitrary ruby scripts from rails


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:

    def some_rails_action
      fork {
        exec "some_sript_on_path.rb", "arg1", "arg2"