Changed some rights issues with installing Rubygems.