Uninstall ruby-end.
Turn on smartparens-mode in ruby-mode.
Remove flymake-ruby-executable path configuration.