Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OHR Support
Manage
Activity
Members
Labels
Plan
Issues
97
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
OHR Support
Commits
4c0b1953
Commit
4c0b1953
authored
13 years ago
by
Holger Just
Browse files
Options
Downloads
Patches
Plain Diff
[#819] set RAILS_ENV if only RACK_ENV is provided
parent
939fd0b9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/environment.rb
+3
-0
3 additions, 0 deletions
config/environment.rb
with
3 additions
and
0 deletions
config/environment.rb
+
3
−
0
View file @
4c0b1953
...
...
@@ -18,6 +18,9 @@
# you don't control web/app server and can't set it the proper way
# ENV['RAILS_ENV'] ||= 'production'
# use RACK_ENV if we are running as a simple rack app
ENV
[
'RAILS_ENV'
]
||=
ENV
[
'RACK_ENV'
]
if
ENV
[
'RACK_ENV'
]
# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION
=
'2.3.14'
unless
defined?
RAILS_GEM_VERSION
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment