To add the ruby validator to your project, open your .project file (at the root of your project).
And add:
<buildCommand>
<name>org.rubypeople.rdt.core.rubybuilder</name>
<arguments>
</arguments>
</buildCommand>
inside the
element.
Refresh eclipse, and wait for it to rebuild everything. Then your files will be checked for correct ruby syntax everytime you save. You will see a little marker everytime there is an error.
Here’s the complete .project file:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>typo</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.rubypeople.rdt.core.rubybuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.radrails.rails.ui.railsnature</nature>
</natures>
</projectDescription>
In the latest version of RadRails the Ruby builder and Ruby nature get added to new Rails projects. If you have a project from before 0.6 you’ll have to do the above.
Awesome! Thank you for the precision, Kyle.