If intermediate .rubies/ dir doesn't exist, create it during JRuby and MagLev installs.

The .rubies/ directory is created with a ruby-install of Ruby but not so with JRuby and MagLev mv to $INSTALL_DIR. Trying to install JRuby or MagLev before installing Ruby fails due to missing .rubies/ dir.