Category Archives: Ruby

Reminder for mysql rubygem install on Ubuntu

Quick easy steps to get up and running with ruby, mysql, sqlite, rails, and most especially the mysql gem on a fresh Ubuntu 10.10 64-bit system: 123456789# mysql and dev packages needed for mysql rubygem: sudo apt-get install mysql-server mysql-client … Continue reading

Posted in Programming, Ruby | Tagged , | 1 Comment

Review of Hacking Vim 7.2

Hacking Vim 7.2 by Kim Schulz is filled with a variety of useful explanations and helpful tips for Vim users wanting to improve their efficiency and learn more about their editor. While I’ve enjoyed finding new and better ways to … Continue reading

Posted in Book Review, Programming, Python, Ruby, vim | Tagged , | 2 Comments

An improved ruby debugger invocation

I’d been wanting to write a post for some time on improvements I’ve found useful in using Ruby’s debugger. Friend Trevor Rosen beat me to the proverbial punch, however. Give his post a read first, I’ll wait. Now on top … Continue reading

Posted in Programming, Ruby | Tagged , | Leave a comment

Improved irb configuration

As applies to most new tools I start to use, the time in which I’ve started to learn Ruby has included a fair amount of time improving my general working environment, to make it more suited to the use of … Continue reading

Posted in Ruby | Tagged , , | 4 Comments

A better Ruby prompt

The Interactive Ruby Shell, or irb, is indispensable for trying out Ruby code rapidly, seeing what works and what’s elegant. But the defaults aren’t quite optimal. Tab completion It lacks tab completion by default. Having this available can save you … Continue reading

Posted in Ruby | Tagged , , , | 3 Comments