Ensure goto-address-prog-mode is enabled in ruby-mode under Emacs 24
Use non-ERB version of html-mode for plain .html
Don't set selection-coding-system on windows

See following comment for rationale:

http://stackoverflow.com/questions/2901541/which-coding-system-should-i-use-in-emacs/2903256#comment20730840_2903256