about summary refs log tree commit homepage
path: root/t/rails3-app/script/rails
diff options
context:
space:
mode:
Diffstat (limited to 't/rails3-app/script/rails')
-rwxr-xr-xt/rails3-app/script/rails9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/rails3-app/script/rails b/t/rails3-app/script/rails
new file mode 100755
index 0000000..febedce
--- /dev/null
+++ b/t/rails3-app/script/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
+
+ENV_PATH  = File.expand_path('../../config/environment',  __FILE__)
+BOOT_PATH = File.expand_path('../../config/boot',  __FILE__)
+APP_PATH  = File.expand_path('../../config/application',  __FILE__)
+
+require BOOT_PATH
+require 'rails/commands'