Ruby on Rails Friday, January 24, 2014

On Jan 24, 2014, at 12:54 PM, Walter Lee Davis <waltd@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?

Cheers

beerich@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+unsubscribe@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.

No comments:

Post a Comment