Add newline at the end of each file.
Always use the global flycheck mode for ruby-mode.