THE EASY PART: I have four Ruby commands in a Ruby script that need to be executed in the following order:
- long_command1
- long_command2
- long_command3
- long_command4
THE HARD PART: How do I make sure that the Ruby script finishes one command before moving on to the next one? long_command1 needs to be completed before long_command2 can begin, long_command2 needs to be completed before long_command3 can begin, and long_command3 needs to be completed before long_command4 can begin.