<?xml version=“1.0” encoding=“UTF-8”?> <mime-info xmlns=“www.freedesktop.org/standards/shared-mime-info”>

<mime-type type="text/x-html-erb">
  <sub-class-of type="text/html"/>
  <comment>Ruby embedded in HTML (erb)</comment>
  <magic priority="50">
    <match value="&lt;%" type="string" offset="0"/>
  </magic>
  <glob pattern="*.html.erb"/>
  <glob pattern="*.rhtml"/>
</mime-type>

<mime-type type="application/x-javascript-erb">
  <sub-class-of type="application/javascript"/>
  <alias type="text/x-javascript-erb"/>
  <comment>Ruby embedded in JavaScript (erb)</comment>
  <magic priority="50">
    <match value="&lt;%" type="string" offset="0"/>
  </magic>
  <glob pattern="*.js.erb"/>
</mime-type>

<mime-type type="application/x-ruby-erb">
  <sub-class-of type="application/ruby"/>
  <alias type="text/x-ruby-erb"/>
  <comment>Ruby embedded in Ruby (erb)</comment>
  <magic priority="50">
    <match value="&lt;%" type="string" offset="0"/>
  </magic>
  <glob pattern="*.rb.erb"/>
</mime-type>

<mime-type type="application/x-yaml-erb">
  <sub-class-of type="application/x-yaml"/>
  <alias type="text/x-yaml-erb"/>
  <comment>Ruby embedded in Yaml (erb)</comment>
  <magic priority="50">
    <match value="&lt;%" type="string" offset="0"/>
  </magic>
  <glob pattern="*.yml.erb"/>
</mime-type>

<mime-type type="application/x-xml-erb">
  <sub-class-of type="application/xml"/>
  <alias type="text/x-xml-erb"/>
  <comment>Ruby embedded in XML (erb)</comment>
  <magic priority="50">
    <match value="&lt;%" type="string" offset="0"/>
  </magic>
  <glob pattern="*.xml.erb"/>
</mime-type>

<mime-type type="text/x-text-erb">
  <sub-class-of type="text/plain"/>
  <alias type="application/x-text-erb"/>
  <comment>Ruby embedded in Text (erb)</comment>
  <magic priority="50">
    <match value="&lt;%" type="string" offset="0"/>
  </magic>
  <glob pattern="*.erb"/>
</mime-type>

</mime-info>