aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-03-28 18:17:11 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-03-28 18:18:25 -0700
commit4b07352420c4a3c0fdae40fd6fd31796f39a8909 (patch)
tree35bc936f5a781e5d0ec666ab6bd6b66899ad6a3a /tools
parentfc6746fc3f102029020e3893cde5480a58470d59 (diff)
downloadrails-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-xtools/console7
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