# Default Finder file icon for erb files

**URL:** <https://www.ruby-forum.com/t/default-finder-file-icon-for-erb-files/153093>\
**Category:** Rails\
**Created:** [November 12, 2008, 1:41am UTC](https://www.ruby-forum.com/t/default-finder-file-icon-for-erb-files/153093 "2008-11-12T01:41:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [November 12, 2008, 1:41am UTC](https://www.ruby-forum.com/t/default-finder-file-icon-for-erb-files/153093/1 "2008-11-12T01:41:58Z")

</div>

I use Textmate and Mac OS 10.5. How do I make Mac OS display a Textmate  
file icon in Finder view by deafult?

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [November 12, 2008, 2:48am UTC](https://www.ruby-forum.com/t/default-finder-file-icon-for-erb-files/153093/2 "2008-11-12T02:48:27Z")

</div>

On 12 Nov 2008, at 00:41, Pål Bergström wrote:

> I use Textmate and Mac OS 10.5. How do I make Mac OS display a  
> Textmate  
> file icon in Finder view by deafult?

If you just want double clicking such a file to open in textmate then  
show the info window for any .erb file in the window and use the  
change all button.  
As far as the icon (ie just the cosmetic side of things), you’ll  
probably need to edit Textmate’s Info.plist file to indicate that  
the .erb extension/UTI has appropriate icon/type.

Fred
