Modify Gemfiles in ruby-mode.