Nice...the Apple team included Ruby 1.8.2 in Tiger. Tis a sweet thing indeed. If you want to build extensions for it though you need to install xCode Tools. And then, there is a minor problem with the shipped rbconfig.rb file. The wiki on the rails site here documents the change.
You can also use RubyGems to fix it too thanks to Chad Fowler who already built a Gem (fixrbconfig) to fix the problem. After you install RubyGems you just do this:
% sudo gem install fixrbconfig
Password:
Attempting local installation of 'fixrbconfig'
Local gem file not found: fixrbconfig*.gem
Attempting remote installation of 'fixrbconfig'
Updating Gem source index for: http://gems.rubyforge.org
Successfully installed fixrbconfig-1.0
Then run (from another terminal window):
% sudo fixrbconfig
====================
This program will replace your rbconfig.rb , located in /usr/lib/ruby/1.8/powerpc-darwin8.0/rbconfig.rb
Press enter continue or ctrl-c to abort.
Backing up original rbconfig.rb in /usr/lib/ruby/1.8/powerpc-darwin8.0/rbconfig.rb.bak
All Done! You should be able to compile C extensions now!
Its nice when package managers ship fixes to OSes on the same day the OS ships!
Now, full steam ahead with Ruby on Tiger!
[UPDATE] Lucas Carlson posted this very nice script to fix both the rbconfig.rb file and download and install readline support (which gives you command recall in IRB). Very nice indeed! If you have already applied the rbconfig fix, you can just snip out the lines starting with: curl ftp://ftp.gnu.org/gnu/readline...
The main dangers in this life are the people who want to change everything --- or nothing.
Posted by: Air Jordan shoes | Tuesday, November 02, 2010 at 09:42 PM
To sensible men, every day is a day of reckoning..
Posted by: cheap air yeezy | Wednesday, November 03, 2010 at 04:43 AM
Great ideas, I like it.
Posted by: carpet cleaning milwaukee | Friday, January 14, 2011 at 12:41 AM
I am not aware of ruby but can feel how interesting it is after reading your article.
Posted by: instant payday loan | Friday, January 14, 2011 at 06:56 AM
This is truly a great read for me.
Posted by: mortgage credit repair | Sunday, February 06, 2011 at 06:15 AM
Tis a sweet thing indeed.
Posted by: masaż bielsko | Thursday, June 09, 2011 at 04:32 PM
Thank you for your share, i love it very much.
Posted by: cheap Oakley Flak Jacket | Monday, June 20, 2011 at 10:14 PM
the Apple team included Ruby 1.8.2 in Tiger. Tis a sweet thing indeed. If you want to build extensions for it though you need to install xCode Tools. And then, there is a minor problem with the shipped rbconfig.rb file. The wiki on the rails site here documents the change.
Posted by: cycling shorts women | Wednesday, July 20, 2011 at 05:24 AM
thanks very much, please write more and more about this.
Posted by: a-j-hawk-jersey | Thursday, October 20, 2011 at 08:12 PM
Your blog is very informative.This is obviously one great post.i keep on reading articles from here.thanks for sharing..
Posted by: aaron-rodgers-jersey | Thursday, October 20, 2011 at 08:12 PM
I’m still learning from you, but I’m improving myself.
Posted by: b-j-raji-jersey | Thursday, October 20, 2011 at 08:13 PM
Very happy to see your article, I very much to like and agree with your point of view.
Posted by: clay-matthews-jersey | Thursday, October 20, 2011 at 08:14 PM
The trickle down effect of the money not coming in affected everyone.
Posted by: jordy-nelson-jersey | Thursday, October 20, 2011 at 08:14 PM
Great post,I will read your post time to time.thank you!
Posted by: aaron-kampman-jersey | Thursday, October 20, 2011 at 08:15 PM
This is an inspirational and fantastic writing for other writers and artists to follow
this website provides such a valuable information.
Posted by: al-harris-jersey | Thursday, October 20, 2011 at 08:16 PM
These are all great comments here. Very cool article.
Posted by: charles-woodson-jersey | Thursday, October 20, 2011 at 08:18 PM
it is very lucky to read your blog,thanks
Posted by: donald-driver-jersey | Thursday, October 20, 2011 at 08:19 PM
Nice discussion on offshore outsourcing points. You blog is really informative and it is dragging us to really think about the outsouring benefits. Thanks for sharing such a nice post.
Posted by: greg-jennings-jersey | Thursday, October 20, 2011 at 08:19 PM
I do agree with you.
Posted by: james-starks-jersey | Thursday, October 20, 2011 at 08:22 PM
very useful and interesting your article.Thanks for this. I really like what you’ve posted here and wish you the best of luck with this blog!
Posted by: john-kuhn-jersey | Thursday, October 20, 2011 at 08:23 PM
Your blog is very informative.This is obviously one great post.i keep on reading articles from here.thanks for sharing..
Posted by: nick-barnett-jersey | Thursday, October 20, 2011 at 08:24 PM
I’m still learning from you, but I’m improving myself.
Posted by: paul-hornung-jersey | Thursday, October 20, 2011 at 08:25 PM
The trickle down effect of the money not coming in affected everyone.
Posted by: ryan-grant-jersey | Thursday, October 20, 2011 at 08:27 PM
Great post,I will read your post time to time.thank you!
Posted by: william-henderson-jersey | Thursday, October 20, 2011 at 08:28 PM