Fixed ruby-mode hook