Saturday, May 29, 2010

[Rails] Re: passenger on localhost

Ahmet Kilic wrote:
> alexey wrote:
>> "We're sorry, but something went wrong. We've been notified about this
>> issue."
>> It is a rails error, and maybe you are in production mode,
>> My apache conf:
>> NameVirtualHost site.com:80
>> <VirtualHost www.site.com:80>
>> ServerName www.site.com
>> RailsEnv development
>> RailsAllowModRewrite off
>> DocumentRoot /var/www/site/public
>> </VirtualHost>
>>
>> and its running fine in development.
>> Check /log dir, and look for development.log file,.
>
> it is Ok for me also.
> But why it is not working with RailsEnv production???
> Is it not a bit strange!?:(

So, if I understand correctly, the exact stuff from httpd.conf that
you've shown above works, but it fails if you change to RailsEnv production?

Have you looked at your Apache error_log and/or
/path/to/app/log/production.log? Maybe there's a clue there. It seems an
exception is being raised and you are seeing the default error page. If
that's the case, then there should be a log entry.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate