Changed where rubygems are installed based on platform