summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-20 19:50:35 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-05-20 19:52:08 -0400
commit11af51613d219aecd2a8cdce879d983f82434d47 (patch)
treef1cacfc6386a29504991e121e1ef5f570dbbf1cb
parent9789b56a319a885e1086f3475814477946ccb548 (diff)
downloadgitlab-ce-11af51613d219aecd2a8cdce879d983f82434d47.tar.gz
Fix bin/rails binstubrs-gems
-rwxr-xr-xbin/rails5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/rails b/bin/rails
index 215a2ea01f0..7feb6a30e69 100755
--- a/bin/rails
+++ b/bin/rails
@@ -3,5 +3,6 @@ begin
load File.expand_path("../spring", __FILE__)
rescue LoadError
end
-require 'bundler/setup'
-load Gem.bin_path('rails', 'rails')
+APP_PATH = File.expand_path('../../config/application', __FILE__)
+require_relative '../config/boot'
+require 'rails/commands'