Running system command from Ruby code on shared host

Hello,

I want to run thinking_sphinx if it’s down for searching. I’m using the
command below:

system “/usr/bin/rake thinking_sphinx:start &”

I’m using shared host so this might be why it doesn’t work because it
works on my local machine. Is there way to run the system command on
shared host.

Thanks,

Tam