You are currently viewing Ubuntu Rails VM Tutorial: Error Handling

Ubuntu Rails VM Tutorial: Error Handling

Part 4 of 5 of the Ubuntu Rails VM Tutorial series

Error handling in Ansible provisioning files can be a complex.  I built these provisioning files on the backs of giants (see the references for this tutorial). I added more error handling as I found problems. 

Note

At this time, not all error cases are handled in the Ansible files, nor are all error paths tested.

What follows are simplified flowcharts describing the error handling for both RVM and Ruby installations.

CR Johnson

As a software engineer with over a decade of experience working for Fortune 50 companies developing software for Windows, the web, and a few interplanetary spacecraft, she's programmed in a plethora of languages including the C#/ASP.NET stack and, recently, Rails. She has tweaked more CSS files than she can count and geeks out a little on data and SQL databases. In her spare time she works on her first novel and enjoys bicycling and dark chocolate.