Since a "picture" is worth a thousand words, here's the commands I
have in my  ruby.properties:

	command.go.*.rb=ruby -w $(FileNameExt) $(1) $(2) $(3) $(4)
	command.go.subsystem.*.rb=1
	command.go.*.rbw=rubyw -w $(FileNameExt) $(1) $(2) $(3) $(4)
	command.go.subsystem.*.rbw=1
	command.help.$(file.patterns.rb)=$(CurrentWord)!c:\chris\ruby\doc
\ProgrammingRuby.chm
	command.help.subsystem.*.rb=4
	command.name.1.$(file.patterns.rb)=Check Syntax
	command.1.$(file.patterns.rb)=ruby -cw $(FileNameExt)
	command.name.2.$(file.patterns.rb)=Code Profiler
	command.2.$(file.patterns.rb)=ruby -r profile $(FileNameExt)
	command.name.3.$(file.patterns.rb)=Code Formatter
	command.3.$(file.patterns.rb)=ruby -w U:/Chris/chris/dev/rbeautify/
rbeautify.rb $(FileNameExt)
	command.name.4.$(file.patterns.rb)=RubyScript2Exe
	command.4.$(file.patterns.rb)=ruby -w U:/Chris/chris/dev/rs2exe/
rubyscript2exe.rb $(FileNameExt)
	command.name.5.$(file.patterns.rb)=Ri Docs
	command.5.$(file.patterns.rb)=ri.bat $(CurrentWord)
	command.name.6.$(file.patterns.rb)=VisualuRuby Help
	command.6.$(file.patterns.rb)=rubyw -e "exec('start C:/chris/ruby/doc/
VRuby/vrswin-en.chm')"
	command.name.7.$(file.patterns.rb)=FRi Docs
	command.7.$(file.patterns.rb)=fri.cmd $(CurrentWord)

cheers
Chris