Resolve brace char inputting problem on ruby-mode