RubyFlow The Ruby and Rails community linklog

How to exit a Ruby program

If you want your app to behave well in a unix environment, it’s important that it exit correctly. In this post you’ll learn all about unix exit codes, the mechanism that Ruby uses to exit a program, and how you can add custom behavior on exit. - http://blog.honeybadger.io/how-to-exit-a-ruby-program/

Comments

Error establishing a database connection

Stopped working for me as well.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in