Forum: Ruby on Rails Running system command from Ruby code on shared host

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Tam K. (Guest)
on 2008-11-15 06:08
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
This topic is locked and can not be replied to.