Filed under: Analysis / Opinion, OS, Software, Open Source, Leopard, Developer
24 Hours of Leopard: Ruby on Rails built-in
Feature: The most awesome, easy, groovy, Web 2.0 development platform ever is now built-in to OS X.How it works: Like buttah. Ruby, the language that powers RoR, has actually been built-in to OS X for a while (don't believe me? type "irb" in your terminal right now to access interactive Ruby), but Ruby on Rails has been mostly a pain to install around OS X. Packages need to be downloaded, settings need to be tweaked, and servers need to be config'd. No more. Ruby on Rails, free and installed on every new Mac. Developers, start your developing.
Who will use it: Mostly people who develop applications for the web. But even though I personally don't code much, if you've ever done any coding, once you dive into Ruby and RoR, you'll probably have the same reaction that I do: wow this thing is neat! For a start in Ruby, check out the classic Why's Poignant Guide, and for a tutorial on RoR, hit up Curt Hibbs (he's from St. Louis, so you know he's a good guy).
You can check out all our 24 Hours of Leopard posts here.

![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)


Reader Comments (Page 1 of 1)
Marc said 8:13PM on 10-25-2007
Could you do a rundown of what the versions of the shell utilities are?
Is Subversion included? is Vim 7 there?, What are the BASH, ZSH, GCC etc versions?
Reply
Gregory Clarke said 8:22PM on 10-25-2007
So does this mean that MySQL is also built in (which it wasn't in earlier OS's)? Although RoR works with PostgreSQL too...
Reply
Chris Ryland said 8:44PM on 10-25-2007
Too bad Django's not built-in, but I suppose until it reaches 1.0 it's considered experimental. 10.6, maybe.
Reply
brian said 9:00PM on 10-25-2007
Gah! Enough with Leopard already! Isn't there any iPhone news?!?!?
(Yes, I'm kidding.)
Reply
Carlos said 9:44PM on 10-25-2007
Man I can't wait!!!!!
Reply
Anh said 11:15PM on 10-25-2007
Came across this page with more info on RoR in Leopard.
http://trac.macosforge.org/projects/ruby/wiki/WhatsNewInLeopard
Reply
Rhywun said 11:49PM on 10-25-2007
Hm.... does this mean I can do a clean install and not fiddle around with MacPorts any more? (Not that MacPorts isn't great; but I will admit I don't have enough time to really understand it... for example I have several versions of Python installed all over the place--and I don't even use Python...)
Reply
sergio.delagarza said 4:06AM on 10-26-2007
i will
Reply
jonathan ober said 8:21AM on 10-26-2007
this may sway me to move to RoR in the future.
Reply
marius said 8:48PM on 10-26-2007
i installed leopard now, how do i actually get my rails project (with all the directories app, config etc.) running at http://localhost?
Reply
David said 1:04PM on 11-09-2007
This is from memory, but I did the following.
1. Install Leopard
2. Add an entry to /etc/hosts, such as myapp.r pointing to 127.0.0.1
3. Add a stanza in /etc/apache2/(something)/httpd-vhosts which references your ruby app's public directory (i'll show you my stanza when i get home)
4. restart apache
5. test your setup in Terminal: ruby -v; rails -v; ping myapp.r; httpd -S
6. Open your browser and point to myapp.r
Again, this is from memory and I did it two weeks ago. If it's not correct, then let me know and I'll check my setup at home.
Good luck!
Reply