Comments (9)
From skizzybiz on April 11, 2008 12:27:13
In particular, our application codebase is installed to different locations on the same server, with different
database connections and some site-specific behavior, depending on the RAILS_ENV. Changing RAILS_ENV in
environment.rb is not a solution for us, making this a blocker.
from passenger.
From skizzybiz on April 11, 2008 12:52:52
As a workaround, Capistrano can be configured to modify environment.rb after checking out code. Pretty
hackish, but at least I can give Passenger a shot now.
from passenger.
From brent.rowland on April 11, 2008 15:20:58
Unless a per-virtual host option is implemented, I'll stick a tad bit of dynamic code
in environment.rb to load the desired value from a local file, an environment
variable or derive it from the application path. That way a consistent
environment.rb file can be used.
4.9 *'s!
from passenger.
From adam.q.salter on April 12, 2008 03:41:46
I've just made a comment on group discussion, but this sounds like a great option for
the .htaccess file...
I'm going to raise a new ticket for this, as I feel it is important for mod_rails
adoption.
from passenger.
From timcharper on April 29, 2008 11:55:24
I ran into this today when setting up our staging / production server on mod_rails.
It looks like the constant RAILS_ENV gets set, rather than ENV['RAILS_ENV']. This was surprising to me. Should
mod_rails be setting ENV['RAILS_ENV'] instead?
mod_rails is awesome! Thanks. We're very interested in the enterprise solution.
from passenger.
From honglilai on April 29, 2008 14:28:11
@timcharper: That's actually a bug ( issue #6 ). It has already been fixed, and the fix
will be included in version 1.0.2.
from passenger.
From timcharper on April 29, 2008 15:33:51
Just saw that and was about to repent of my comment, but you beat me to it :)
1.0.2 worked like a charm.
Thanks,
Tim
from passenger.
From honglilai on May 07, 2008 10:30:07
Implemented in the latest development version (git repository), commit
fb13dec.
Status: Fixed
Labels: Milestone-1.1.0
from passenger.
From honglilai on June 11, 2008 00:34:42
Labels: -Milestone-1.1.0 Milestone-1.9.0
from passenger.
Related Issues (20)
- Feature request: Ability to configure path to error renderer template
- Deprecation warning with ActiveRecord 7.1.2
- passenger-install-nginx-module is running after installation as a dynamic module HOT 8
- Security update without published advisory HOT 2
- Memory leak HOT 3
- Crash when starting Ruby 3.3.0 Rails 7 application HOT 3
- Disable secure headers option for GLS HOT 1
- HTTP3/QUIC breaks passenger Python apps ( Nginx + HTTP3 + Passenger ) HOT 2
- Cannot build passenger nginx dynamic module HOT 1
- Out of memory leads to passenger shutdown and ensuing 502 error on nginx HOT 3
- Out of memory leads to passenger shutdown and ensuing 502 error on nginx HOT 1
- Cannot upgrade to 1.24.0-1: unmet dependencies HOT 2
- Cannot find nginx module on Amazon Linux 2023 HOT 1
- Cannot install passenger-6.0.20-1.el9.x86_64.rpm on CentOS 9 Stream with Ruby 3.3 HOT 2
- Requests intermittently result in 500, directory in /tmp not found HOT 2
- Better cooperation with Kubernetes zero-downtime restarts
- Error with Rack prevents editing rails production credentials
- params are empty upon proper form submission HOT 1
- Packaging of unmaintained dependency: http-parser HOT 2
- The passenger spawns more processes than are allocated to it
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passenger.