Hi !
2006/9/15, Hemant . <inxs.hemant / gmail.com>:> Now good thing about the above controller code is that, it works. And the> bad news is, it works only once...upon the next refresh it says:>> require on /home/gnufied/.ruby_inline/Inline_FoobarController_cb89.so failed
You have to remember that Rails reloads it's controllers on everyrequest in development mode.  That's probably your problem.
Couple of options I see:
1. Move the code into a file that won't be reloaded on every request(lib/ for example ?)2. Use BackgrounDRb as you suggest3. Web Services or something
Hope that helps !-- François Beausoleilhttp://blog.teksol.info/http://piston.rubyforge.org/