Don't automatically insert an encoding magic comment
Open *.ru files, Gemfile and Rakefile in ruby-mode
Change the indent style after parens in ruby-mode
Use define-key instead of local-set-key