On Jan 24, 2014, at 12:59 PM, BeeRich wrote:

> 
> On Jan 24, 2014, at 12:54 PM, Walter Lee Davis <wa...@wdstudio.com> wrote:
> 
>> If you're clearly in development, why are you hitting passenger? What does 
>> your passenger configuration (in Apache or Nginx) look like? Did you set an 
>> environment flag explicitly to development? If not, I believe that passenger 
>> always defaults to production.
> 
> I have no clue.  I installed Passenger to use Apache instead of WEBrick.  
> Here's what I have:
> 
> LoadModule passenger_module 
> /Library/Ruby/Gems/2.0.0/gems/passenger-4.0.35/buildout/apache2/mod_passenger.so
> <IfModule mod_passenger.c>
> PassengerRoot /Library/Ruby/Gems/2.0.0/gems/passenger-4.0.35
> PassengerDefaultRuby 
> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
> </IfModule>
> 
> In the VHost directive:
> AllowOverride all
> Options -MultiViews
> 
> Other than that I don't know where to find other Passenger parameters.  Is 
> there no way to use Passenger for a local development environment?

Sure. You just need to read through the passenger docs to find the proper flag 
to add inside the <IfModule mod_passenger.c> block. It's something simple like 
`RailsEnvironment development` or something like that.

Walter

> 
> Cheers
> 
> beer...@gmail.com
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/BC5AE9BB-8131-446C-99ED-29738D8C8102%40gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CE522EDE-A419-4EC9-BE12-765E2B48B191%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to