Running system command from Ruby code on shared host


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.



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs