Skip to content

Instantly share code, notes, and snippets.

@jbarnette
Created April 28, 2011 03:06
Show Gist options
  • Save jbarnette/945722 to your computer and use it in GitHub Desktop.
Save jbarnette/945722 to your computer and use it in GitHub Desktop.
.irbrc
$:.unshift "lib" if File.directory? "lib"
project = File.basename File.expand_path(".")
require project if File.file? "lib/#{project}.rb"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment