Added fix to install ruby racer only on required environments.