summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-02-15 21:03:10 +0100
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-02-15 21:03:10 +0100
commitc35036c091adf71dca557edb6ffc5cb07e361500 (patch)
tree9c92c02c14c60a0c68275a6af42c5abf206e5ad9 /bin
parent3e30b105910980967c4fc10808eeeee86acbe452 (diff)
downloadgitlab-ce-c35036c091adf71dca557edb6ffc5cb07e361500.tar.gz
Rails uses bin folder we forgot to create it when upgrading
Diffstat (limited to 'bin')
-rw-r--r--bin/bundle3
-rw-r--r--bin/rails4
-rw-r--r--bin/rake4
3 files changed, 11 insertions, 0 deletions
diff --git a/bin/bundle b/bin/bundle
new file mode 100644
index 00000000000..66e9889e8b4
--- /dev/null
+++ b/bin/bundle
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
+load Gem.bin_path('bundler', 'bundle')
diff --git a/bin/rails b/bin/rails
new file mode 100644
index 00000000000..728cd85aa58
--- /dev/null
+++ b/bin/rails
@@ -0,0 +1,4 @@
+#!/usr/bin/env ruby
+APP_PATH = File.expand_path('../../config/application', __FILE__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/bin/rake b/bin/rake
new file mode 100644
index 00000000000..17240489f64
--- /dev/null
+++ b/bin/rake
@@ -0,0 +1,4 @@
+#!/usr/bin/env ruby
+require_relative '../config/boot'
+require 'rake'
+Rake.application.run