summaryrefslogtreecommitdiff
path: root/core/script/rails
diff options
context:
space:
mode:
Diffstat (limited to 'core/script/rails')
-rwxr-xr-xcore/script/rails8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/script/rails b/core/script/rails
new file mode 100755
index 0000000..c2ad538
--- /dev/null
+++ b/core/script/rails
@@ -0,0 +1,8 @@
+#!/usr/bin/env ruby1.8
+# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
+
+ENGINE_ROOT = File.expand_path('../..', __FILE__)
+ENGINE_PATH = File.expand_path('../../lib/leap_web_core/engine', __FILE__)
+
+require 'rails/all'
+require 'rails/engine/commands'