Fix auto-switching tests

The correct variable is RUBY_ROOT, not RUBY. It seemed to be renamed
during the development of auto-switching functionality.
Merge pull request #88 from tmatilai/fix-auto-tests

Fix auto-switching tests