# Running system command from Ruby code on shared host

**URL:** <https://www.ruby-forum.com/t/running-system-command-from-ruby-code-on-shared-host/153342>\
**Category:** Rails\
**Created:** [November 15, 2008, 5:08am UTC](https://www.ruby-forum.com/t/running-system-command-from-ruby-code-on-shared-host/153342 "2008-11-15T05:08:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tkbeili](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7bcc69/32.png) [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Post date:** [November 15, 2008, 5:08am UTC](https://www.ruby-forum.com/t/running-system-command-from-ruby-code-on-shared-host/153342/1 "2008-11-15T05:08:20Z")

</div>

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
