[DRE-commits] [redmine] 04/05: Use production environment by default
Antonio Terceiro
terceiro at moszumanska.debian.org
Fri Jan 22 13:01:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch patch-queue/master
in repository redmine.
commit 7e16406e4487865bbbd6cc5b71278fbf36866675
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun Sep 20 12:26:00 2015 -0300
Use production environment by default
This patch is Debian-specific
Gbp-Pq: Name 0003-Use-production-environment-by-default.patch
---
config/boot.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/config/boot.rb b/config/boot.rb
index 3596736..24ddc4e 100644
--- a/config/boot.rb
+++ b/config/boot.rb
@@ -1,4 +1,6 @@
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
+ENV['RAILS_ENV'] ||= 'production'
+
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/redmine.git
More information about the Pkg-ruby-extras-commits
mailing list