I use RubyMine to help with writing Ruby code. It was worth it even when it wasn’t free for non-commercial use.