diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-28 18:17:11 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-28 18:18:25 -0700 |
commit | 4b07352420c4a3c0fdae40fd6fd31796f39a8909 (patch) | |
tree | 35bc936f5a781e5d0ec666ab6bd6b66899ad6a3a /tools | |
parent | fc6746fc3f102029020e3893cde5480a58470d59 (diff) | |
download | rails-4b07352420c4a3c0fdae40fd6fd31796f39a8909.tar.gz rails-4b07352420c4a3c0fdae40fd6fd31796f39a8909.tar.bz2 rails-4b07352420c4a3c0fdae40fd6fd31796f39a8909.zip |
./tools/console to drop into irb with rails loaded
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/console | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/console b/tools/console new file mode 100755 index 0000000000..ea995a1a54 --- /dev/null +++ b/tools/console @@ -0,0 +1,7 @@ +#!/usr/bin/env ruby +require File.expand_path('../../load_paths', __FILE__) +require 'rails/all' +require 'active_support/all' +require 'irb' +require 'irb/completion' +IRB.start |