2 au BufNewFile,BufRead *.rb,*.rbw,*.gem,*.gemspec set filetype=ruby
5 au BufNewFile,BufRead *.builder,*.rxml,*.rjs set filetype=ruby
8 au BufNewFile,BufRead [rR]akefile,*.rake set filetype=ruby
11 au BufNewFile,BufRead [rR]antfile,*.rant set filetype=ruby
14 au BufNewFile,BufRead .irbrc,irbrc set filetype=ruby
17 au BufNewFile,BufRead *.ru set filetype=ruby
20 au BufNewFile,BufRead Capfile set filetype=ruby
23 au BufNewFile,BufRead Gemfile set filetype=ruby
26 au BufNewFile,BufRead .autotest set filetype=ruby
29 au BufNewFile,BufRead *.erb,*.rhtml set filetype=eruby