Rick DeNatale
2009-Oct-30 13:55 UTC
Any pioneers who''ve configured passenger to support some apps running in 1.8.x others in 1.9?
Passenger configuration selects which ruby executable to use via a global configuration variable (at least for Apache, I assume it''s the same for Nginx). I''m in a situation where I''ve got at least one rails app I''d like to run on 1.9 while others remain on 1.8. This is for my development machine running OS X 10.6. Normally I just use the Passenger PrefPane, which makes a very comfy setup. With the current state of Passenger, I think doing this would involve generating a separate 1.9 version of the Passenger Apache module and some how installing both, a probably forgoing the PrefPane for at least one of the ruby versions. Has anyone trod this road before? Is there an easier way. Am I crazy? Those questions are not meant to be mutually exclusive. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
Marnen Laibow-Koser
2009-Oct-30 15:23 UTC
Re: Any pioneers who''ve configured passenger to support some
Rick Denatale wrote:> Passenger configuration selects which ruby executable to use via a > global configuration variable (at least for Apache, I assume it''s the > same for Nginx). > > I''m in a situation where I''ve got at least one rails app I''d like to > run on 1.9 while others remain on 1.8. This is for my development > machine running OS X 10.6. Normally I just use the Passenger PrefPane, > which makes a very comfy setup.Do you really need Passenger for the 1.9 app? (OK, I''m slighy biased here; I think Passenger is kind of silly for development.)> > With the current state of Passenger, I think doing this would involve > generating a separate 1.9 version of the Passenger Apache module and > some how installing both, a probably forgoing the PrefPane for at > least one of the ruby versions.That''s what I would try if I were in this situation.> > Has anyone trod this road before? Is there an easier way. Am I crazy? > > Those questions are not meant to be mutually exclusive. > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Twitter: http://twitter.com/RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/rickdenataleBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Apparently Analagous Threads
- Anyone using the rspec textmate bundle with Ruby 1.9.1
- Problems running features with Textmate Cucumber bundle
- Route globbing in Rails 3 beta 3
- accepts_nested_attributes_for, validations, :inverse_of option on associations, and IdentityMap
- ri_cal 0.7.0 Released