Skip to Content

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.



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...
 

Add a Comment

*0 / 3000 Character Maximum

11 Comments

Filter by:
David

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!

November 09 2007 at 7:50 AM Report abuse rate up rate down Reply
marius

i installed leopard now, how do i actually get my rails project (with all the directories app, config etc.) running at http://localhost?

October 26 2007 at 8:47 PM Report abuse rate up rate down Reply
jonathan ober

this may sway me to move to RoR in the future.

October 26 2007 at 8:21 AM Report abuse rate up rate down Reply
sergio.delagarza

i will

October 26 2007 at 3:37 AM Report abuse rate up rate down Reply
Rhywun

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...)

October 25 2007 at 11:49 PM Report abuse rate up rate down Reply
Anh

Came across this page with more info on RoR in Leopard.
http://trac.macosforge.org/projects/ruby/wiki/WhatsNewInLeopard

October 25 2007 at 11:15 PM Report abuse rate up rate down Reply
Carlos

Man I can't wait!!!!!

October 25 2007 at 9:44 PM Report abuse rate up rate down Reply
brian

Gah! Enough with Leopard already! Isn't there any iPhone news?!?!?

(Yes, I'm kidding.)

October 25 2007 at 9:00 PM Report abuse rate up rate down Reply
Chris Ryland

Too bad Django's not built-in, but I suppose until it reaches 1.0 it's considered experimental. 10.6, maybe.

October 25 2007 at 8:41 PM Report abuse rate up rate down Reply
Greg

So does this mean that MySQL is also built in (which it wasn't in earlier OS's)? Although RoR works with PostgreSQL too...

October 25 2007 at 8:21 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.