Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-08-22 15:09:28 +0300
committerJan Provaznik <jprovaznik@gitlab.com>2018-11-14 14:38:30 +0300
commit547dc7ac600d3a8dfe61035fc35e82d11bea4aee (patch)
tree232d1a27c9f716ac4c17277ae542d7ccd3ff3ee9 /Gemfile.rails4
parentc93439605bdad009754be70007c798b3d345e677 (diff)
Switch to Rails 5 by default
* updates Gemfile * uses Rails 5 unless explicitly disabled
Diffstat (limited to 'Gemfile.rails4')
-rw-r--r--Gemfile.rails47
1 files changed, 7 insertions, 0 deletions
diff --git a/Gemfile.rails4 b/Gemfile.rails4
new file mode 100644
index 00000000000..6fae99aa893
--- /dev/null
+++ b/Gemfile.rails4
@@ -0,0 +1,7 @@
+# BUNDLE_GEMFILE=Gemfile.rails5 bundle install
+
+ENV["RAILS5"] = "false"
+
+gemfile = File.expand_path("../Gemfile", __FILE__)
+
+eval(File.read(gemfile), nil, gemfile)