blt04 / puppet-rvm

A puppet module for installing and using RVM (Ruby Version Manager)
Other
242 stars 280 forks source link

Centos 6 Dependencies Updated #76

Closed mmmries closed 11 years ago

mmmries commented 11 years ago

We use Centos 6.3 at my job and I had to made the following tweaks to get ruby 2.0.0 to install cleanly.

Tested using vagrant with a Centos 6.3 base image.

mmmries commented 11 years ago

Just noticed this morning that libyaml-devel is not in the standard Centos Archives. I am pulling it form epel. I'll see if I can come up with a better set of packages from a vanilla centos box.

mmmries commented 11 years ago

I was able to get my install working by replacing the rvm module with just this simple exec block:

exec {'rvm-install':
  command => 'curl -L https://get.rvm.io | bash -s latest --autolibs=enabled --ruby=2.0.0',
  creates => '/etc/profile.d/rvm.sh',
  path => $path,
}

That runs just fine on a base centos 6.3 box.