Might want to try:
   ...
   fork { `ruby #{RAILS_ROOT}/script/some_script.rb` }
   ...

Jeff

On Apr 29, 7:57 am, Sudhi Kulkarni <[email protected]>
wrote:
> Hi,
>
> I have a rails app which currently does the following
>
> "After the launch of the page, there is a button click which starts
> another ruby script on server using system(ruby <file-name>)" This
> execution may take a while around 5-10 mins.
>
> I have following questions
>
> 1. While the script is being executed are other connection requests to
> server waiting or are there services?
> 2. Is there a number parallel connections concept with rails? If yes how
> to configure it?
> 3. Should I make the script call as part of a new Thread to avoid other
> conenctions from waiting?
>
> Thanks,
> Sudhindra
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to