ruby: Fix optargs test.
ruby: Fix segfault in regression test.

This was revealed by the regression test for RHBZ#664558.
Unfortunately because Ruby tests had been silently disabled,
this regression test was never run.
./run: ruby: Set $RAKE and fix Ruby tests.

This wasn't set which caused Ruby tests to silently not run
without any indication.