Happy Birthday Josiah!

December 18th, 2007 by Benjamin Wagaman.
Categorized as josiah.

Josiah Daniel Wagaman, born in the wee hours of the morning (1:44) on December 18th, just couldn’t wait for his scheduled induction on Wednesday. He weighed in at 7 pounds 8 ounces and measured 20 inches long. We are so excited to have him now.

Grandma and Grandpa Frendt brought James to the hospital at 10am this morning. In walked our almost 2 year old with a rose in his hand. He looked over at mommy with a bright smile in his face, handed her a white rose and then exclaimed ‘baby!’ as he climbed up to meet his new brother. I’m rarely sentimental, but this was one of those cherished moments I will never forget. Life will never be the same. :)

Stay tuned for more updates over the next days and weeks.

Upgrading to Rails 2.0

December 15th, 2007 by Benjamin Wagaman.
Categorized as Ruby on Rails, how to, programming.

With Rails 2.0 out now, it’s time to explore the new source. It’s hard to believe that it’s already been 2 years since I first checked out Rails 1.0 for the first time.

To update your Rails code, you can run
gem update rails

However, when I tried to run this command I was unfortunately greeted with a nasty error, when getting to update ActiveRecord.

Attempting remote update of activerecord
ERROR: While executing gem ... (Zlib::BufError)
buffer error

According to a Ruby Form post, I found a solution to the problem, updating ruby gems.

While you could run this line to update RubyGems to 0.9.5, I don’t recommend it.
gem update --system

Instead download rubygems-0.9.4, unzip it and then run
ruby setup.rb

This will allow you to continue to use Mongrel, because there are some incompatibilities with Mongrel running on Win32 with RubyGems 0.9.5. See the following:

and then update rails as you would expect.
gem update rails

Voila!

How to Migrate a Subversion Repository

December 11th, 2007 by Benjamin Wagaman.
Categorized as how to, programming.

While moving a subversion repository from one location to another is an infrequent task, it’s good to know and easy to do.

According to dot not

svnadmin dump /path/to/repo > reponame.dump
tar zcf reponame.tgz reponame.dump
scp reponame.tgz hostname:/path/to/new/repo

Then login to the new machine, and set up the new repo:

cd /path/to/new
svnadmin create reponame
tar zxf reponame.tgz
svnadmin load reponame < reponame.dump

Voila, you have moved your repository. Don’t forget to delete your old repository when you have made sure that you are correctly referencing your new repository. Thanks Scott for the help.

24 Season 7

December 4th, 2007 by Benjamin Wagaman.
Categorized as 24, tv, video.