Try helm, smart-tab and ruby-end in emacs