modify ruby-mode-map to ruby-mode-map-hook