Skip to content

Instantly share code, notes, and snippets.

@elebertus
Created April 14, 2012 00:21
Show Gist options
  • Save elebertus/2381152 to your computer and use it in GitHub Desktop.
Save elebertus/2381152 to your computer and use it in GitHub Desktop.
yum erase $(yum list installed | grep ruby | awk '{printf $1" "}' | sed -e 's/libselinux-ruby.x86_64//g' -e 's/\.x86_64//g') && cd /tmp ; curl -O http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz && tar xzf ruby-1.9.2-p290.tar.gz && cd ruby-1.9.2-p290 && ./configure && make && make install && gem i chef && wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm && rpm -i epel-release-6-5.noarch.rpm && mkdir /var/cache/chef ; mkdir /var/cache/chef/cookbooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment