Unicorn memory status fixes

If using the `unicorn` command instead `unicorn_rails` command, so the plugin does not work fixed. In addition, fixed ruby warning.