summaryrefslogtreecommitdiff
path: root/help/script/rails
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2012-10-01 14:59:29 -0700
committerjessib <jessib@riseup.net>2012-10-01 14:59:29 -0700
commitc0f10e15d8d2ec3be620dff62315a44bd065f201 (patch)
tree42597c24af327b10bed712d8aa49cad5ad62a350 /help/script/rails
parenta757e173f93bf1d42bb41e92757e53b446e3d76d (diff)
Moving start to help engine to live within leap_web repo rather than independent engine repo.
Diffstat (limited to 'help/script/rails')
-rwxr-xr-xhelp/script/rails8
1 files changed, 8 insertions, 0 deletions
diff --git a/help/script/rails b/help/script/rails
new file mode 100755
index 0000000..5676ab9
--- /dev/null
+++ b/help/script/rails
@@ -0,0 +1,8 @@
+#!/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.
+
+ENGINE_ROOT = File.expand_path('../..', __FILE__)
+ENGINE_PATH = File.expand_path('../../lib/leap_web_help/engine', __FILE__)
+
+require 'rails/all'
+require 'rails/engine/commands'