Fix a hook for ruby-mode which requires an elisp that is not installed.
Invoke `reindent-then-newline-and-indent' with RET or C-j in ruby-mode.