Skip to content

Instantly share code, notes, and snippets.

@rkbodenner
Created March 26, 2012 23:18
Show Gist options
  • Save rkbodenner/2210543 to your computer and use it in GitHub Desktop.
Save rkbodenner/2210543 to your computer and use it in GitHub Desktop.
Use ~/.irbrc to load Rails-specific code in your script/console
load File.dirname(__FILE__) + '/.railsrc' if $0 == 'irb' && ENV['RAILS_ENV']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment