Fix setting for inf-ruby, and add ruby-insert-end function to fix indent bug.