Writing Ruby Gems – Part 5: Setting up Rspec

[This is the 5th part of a series of posts about writing a Ruby gem. The introductory post about this tutorial contains links to each part of the tutorial. Previous post - Setting up Test::Unit.] In the previous part of this tutorial we set up Test::Unit for writing our gem’s unit tests. In this part, [...]

Writing Ruby Gems – Part 3: Publishing to rubygems.org

[This is the 3rd part of a series of posts about writing a Ruby gem. The introductory post about this tutorial contains links to each part of the tutorial. Previous post - Adding some code.] If you’re planning to share your gem with everyone, you have to publish the gem to two places - rubygems.org [...]

Writing Ruby Gems

Creating a Ruby gem is a lot easier than it seems. Many tutorials about writing gems recommend using something like Jeweler or Hoe to create the structure of the gem for you. Using such tools will make it much easier to get started with a gem, but building a gem from scratch will help you [...]

Ruby, rails and me

Obie Fernandez is hosting a Rails Up-and-Comers contest where the best personal stories of a Rails Up-and-Comers win a bunch of awesome Rails books. My comment there was getting too long so I posted it here instead. I came across Rails by accident, but since then I have loved every minute of ruby programming. Here’s [...]

SpellingBee gem released

I came across Peter Norvig's article How to Write a Spelling Corrector the other day and felt that packaging it as a ruby gem would be a nice way to learn how to create gems. The gem gives you a SpellingBee class that can suggest corrections for mis-spelled words based on the frequency of words [...]

Will Yahoo follow Delicious into the sunset?

When the news broke yesterday that many Yahoo services were being "sunset", a lot of Delicious users were not amused. They had been using Delicious to save bookmarks for years, and now all of a sudden Yahoo decided to get rid of this much loved service. Yahoo have since revealed that they will not shut [...]

Normal service to resume shortly

It's been a while since I last wrote a post here. Having moved to Pune late May, I've been far too busy settling down in the new place to get an time for the blog. I'm hoping to revive this blog in the coming days. Despite the fact that I no longer work on ruby [...]

Why I prefer Twitter to Buzz

Google has never been much of a heavyweight in the social networking market. Their latest attempt to dethrone Twitter and Facebook is through Buzz, which turns Gmail into a social networking site. My initial impression about Buzz was positive, but having looked at it for the past week, I have had to change my opinion. Here's a list of reasons why I don''t like Buzz and would much rather prefer to continue using Twitter.

New home for this blog

I have moved this blog from its old location on blogspot (http://binarydoodles.blogspot.com) to my own domain, http://nithinbekal.com/. The posts were moved to the new location a few days ago, but I wasn't sure what to do with the feeds and that caused quite a bit of delay. I've set up the Feedburner Feedsmith plugin to [...]