please move this function definition outside of the `cabbage-ruby-mode-hook`. We can define it when the bundle is loaded.