Bundler returns different error codes depending on what went wrong
When you are calling Bundler from your shell scripts, you might find it useful that a failed bundle
call returns a different error code depending on the type of problem.
A list of error codes can be found here Show archive.org snapshot .