English version of http://codnote.net/ . But my english is usually strange.

Friday, January 8, 2010

Update Ruby (dev version) everyday

I'm using Ruby dev version.

I update manually each one month until yesterday. But Ruby developping is very active, manual update isn't chase them.

Then, I heard "Let's auto update!".

So I challenged Ruby dev version auto update.

I tryed on Mac OS X Snow leopard (XCode installed).

This is list of I did:

  • Get latest Ruby's source. use svn co.
  • Create update_ruby script.
  • Register to launchd using Lingon.app
  • Yay

update_ruby is here:


cd ~/path/to/ruby-source
svn up && make main && make install-nodoc

No comments:

Post a Comment

About Me

My photo
A Ruby Committer. http://twitter.com/sora_h http://sorah.cosmio.net/