Fix some problems with gemsets when using the single value for the ruby executable path.
Remove some boilerplate from tests and added some logging.