# Jruby/netbeans file suffix question

**URL:** <https://www.ruby-forum.com/t/jruby-netbeans-file-suffix-question/151558>\
**Category:** Ruby\
**Created:** [October 22, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/jruby-netbeans-file-suffix-question/151558 "2008-10-22T21:56:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kenneth\_McDonald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Post date:** [October 22, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/jruby-netbeans-file-suffix-question/151558/1 "2008-10-22T21:56:23Z")

</div>

I’m getting interested in the Ruby Red project, which translates Ruby  
to JavaScript. However, it uses “.red” as a suffix for its Ruby source  
files (the ones that get translated), so I need to figure out how to  
tell NB that a file ending with .red is really a Ruby file. I looked  
around in the Ruby advanced options, but didn’t see anything, and  
didn’t find anything after several Google searches, so am wondering if  
someone on the group would know how to do this.

Thanks in advance,  
Ken

---

<div class="post-metadata">

**Author:** ![Kenneth\_McDonald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Post date:** [October 22, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/jruby-netbeans-file-suffix-question/151558/2 "2008-10-22T22:00:31Z")

</div>

Correction, I meant “Ruby Red”, not JRuby. I’ve been spending too much  
time looking at all the neat ruby variants recently, and didn’t get  
enough sleep last night 🙂

Ken
