Update lib/mina/foreman.rb

Fixed issue where foreman doesn't start.
This is just copy from https://github.com/grigio/mina/commit/e655330bcc84264e3f337be9e199f730a4473250