Git Product home page Git Product logo

Comments (9)

FooBarWidget avatar FooBarWidget commented on May 25, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 25, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 25, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 25, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 25, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 25, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 25, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 25, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 25, 2024

From honglilai on June 11, 2008 00:34:42

Labels: -Milestone-1.1.0 Milestone-1.9.0

from passenger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.