For quite some time, I’ve been using the open_gem gem. It’s a dead simple way to open a gem in your editor and if you subscribe to John Nunemaker’s approach to Stop Googling, it fits perfectly into the workflow.
From the command line, it’s simply:
$> gem open timecop
Today, while reading bundler’s help file, I noticed the open command. It appears to do the same thing as open_gem, but without the need of an extra gem.
Now, I just type:
$> bundle open timecop
I love the world of ruby!