Automated configuration is very important to our process--it keeps all our machines in the same state, makes it easy for new developers to come onboard, and in the end saves many, many hours of finding the same mistakes. Not long ago, I was able to search google for "Ruby on Rails OS/X" and get a nice installer script that could be downloaded and run on a new Mac to get Ruby on Rails up and running. I've been steadily buying up more Mac's and this was a great kick-start for the manual install steps. Then one day I went to find the script and... it disappeared. Since then, we've been maintaining our own Ruby on Rails install script. The word got out, and I've had enough requests to share it that I'm now making it public. It's a copy from our internal wiki, so don't ask about SVN access. If you feel there's an addition, please leave your thoughts in the comments. I've opened this under the Apache 2.0 license mainly to get a disclaimer of no warranty, and beware--this very well nuke your whole system, so read it first and understand the steps before you apply. If you missed the link above, you can download the script here (http://elctech.com/ruby/elc_new_mac_ruby_on_rails_installer.sh). Note that there is gratuitous copying from the awesome tutorial by HiveLogic and that this script installs Darwin ports (to ease GraphicsMagick installation, an rmagick gem dependency).
Thursday, August 24, 2006
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment