There is a list of Best Practices.
What is the Best editor?Edit
Several editors exist for Ruby.
Commercial: The editor of preference on OS X is Textmate. RubyMine has also received good reviewed
Free: NetBeans offers a version with Ruby support. RadRails is a port of eclipse to support Ruby syntax. Eclipse has a plugin DLTK that offers ruby support. On windows for rails projects there is RoRed.
See some more questions answered.