Execute shell command from Rails

Hi all,

Can anyone tell what is the way to execute OS shell command from within
Rails programs? I tried to use “exec” but it terminate the console
run “ruby script/server” originally).

Thank you very much.

  • Chuong

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