Skip to content

Instantly share code, notes, and snippets.

@qrprat77 qrprat77/upruby.rb
Created Nov 9, 2010

What would you like to do?
My Rubyscript for updating Ruby.
#gettin' lazy wid dem ruby scripts.
["rm ./configure","svn up","autoconf","./configure --enable-shared",
"make", "make install", "make clean", "gem update"].each do |one|
puts `sudo #{one}`
puts one == "make install" ? `ruby -v` : "Next!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.