I spent around an hour looking for a Ruby syntax highlighter for Nano.
I couldn’t find one so I decided to try my best at creating my own. If
anyone has any suggestions or wants to help improve it, be my guest.
Get it here: http://jungsource.pastebin.com/477379
Copy and add all of the text from pastebin to the bottom of ~/.nanorc
If .nanorc does not exist create it.
Nanorc doc - http://www.nano-editor.org/dist/v1.2/nanorc.5.html
Note: Tested using Nano 1.2.4 in Fedora Core 3 Linux