Installing Ruby 1.9 on Mac OS X 10.5

Posted by Jason Noble on 06/26/2009 in Mac os x 10.5 10.5.7 ruby 1.9 rails |

Tommie over at The blog with no name has written up a how-to on getting Ruby 1.9 up and running in Mac OS X 10.5.7. Check it out: http://www.tommycampbell.net/2009/06/26/ruby-1-9-on-mac-os-x

1

How to optionally load gems

Posted by Jason Noble on 06/04/2009 in Uncategorized |

I ran into an interesting problem today at work. I wanted to optionally require a ruby gem. For example, I wanted to include the metric_fu rake tasks, but if a user doesn’t have metric_fu installed, it’s no big deal. Here’s how I implemented it. I added a method to the Kernel space (where require lives) […]

Recover files from git after deletion is committed

Posted by Jason Noble on 06/03/2009 in Uncategorized |

As I work with git, I have occasionally deleted files that I later end up needing. You can restore the files, but it’s not an intuitive process. First, I looked at the output of git log to find the commit that I deleted the files with. Then I ran: [text] git diff –diff-filter=D –name-only HEAD@{‘7 […]

Copyright © 2008-2024 Jason Noble's Technical Adventures All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.