Skip to content

Instantly share code, notes, and snippets.

@timcharper
Created July 9, 2010 06:08
Show Gist options
  • Save timcharper/469116 to your computer and use it in GitHub Desktop.
Save timcharper/469116 to your computer and use it in GitHub Desktop.
script/console that loads your .irbrc before activating bundler
#!/usr/bin/env ruby
require "irb"
load "#{ENV['HOME']}/.irbrc"
def IRB.run_config; end
ARGV.unshift "console"
load File.dirname(__FILE__) + "/rails"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment