Apply https://github.com/Rud5G/chef-mailcatcher/commit/6e5f89ee565e642bbc60188ea9967d9de115f818
Fix for centos
Use rbenv, not gem_package to install the gem
Make some arguments optional
Use netstat to check the port, as ps -ax | grep finds grep running