Register extension for Ruby files.