Details
Description
Right now rubygems 1.3.7 is installed in the following bootstrap templates:
- centos5-gems.erb
- ubuntu10.04-gems.erb
This is a fairly old version of rubygems and appears to be causing some permission issues on ubuntu..namely creating a ~/.gem directory owned by root:
lubuntu@domU-12-31-39-00-C5-82:~$ ll total 32 drwxr-xr-x 5 ubuntu ubuntu 4096 2011-04-30 03:39 ./ drwxr-xr-x 4 root root 4096 2011-04-30 03:41 ../ -rw-r--r-- 1 ubuntu ubuntu 220 2011-02-01 21:50 .bash_logout -rw-r--r-- 1 ubuntu ubuntu 3103 2011-02-01 21:50 .bashrc drwx------ 2 ubuntu ubuntu 4096 2011-04-30 03:39 .cache/ drwxr-xr-x 3 root root 4096 2011-04-30 03:39 .gem/
Bumping the rubygems version to the latest 1.7.2 fixes these issues.
Fix can be pulled from here:
https://github.com/schisamo/chef/tree/CHEF-2293