Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have to run a ruby script in rails server. Because my cronjob is written ruby script.

But when I ssh into the server and execute

ruby script.rb

it says

ruby command not found

also I run

ruby -v

to see the version of ruby . But the same error. It seems the ruby is not installed in the server although the server is used to run ruby on rails project.

Should I install ruby in the server or any other solution?

share

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.