I want to run the following command in bash
ruby ......
The commands outputs the string "Created all things" when successful.
How can I run the command and check the output for the text Created all things
to make sure it is successful so that I can run other commands using bash?