Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 505 in cherokee: Does not change cwd when spawning a RoR fastcgi

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Jun 23, 2009, 5:32 PM

Post #1 of 2 (156 views)
Permalink
Issue 505 in cherokee: Does not change cwd when spawning a RoR fastcgi

Status: Accepted
Owner: gunnarwolfi
Labels: Usability Priority-Low Type-Enhancement Component-Admin

New issue 505 by gunnarwolfi: Does not change cwd when spawning a RoR
fastcgi
http://code.google.com/p/cherokee/issues/detail?id=505

What steps will reproduce the problem?
1. Add a Ruby on Rails application via the wizard
2. Launch it
3. Do anything that requires the application to use its current working
directory

What is the expected output? What do you see instead?

My application includes some files upon startup in RAILS_ROOT/config — But
the directory is not found, and I only get 500 errors. Adding «warn
Dir.cwd» to config/environment.rb, I get «/usr/share/cherokee/admin»
instead of my application's base directory.

This problem was fixed by adding the -d parameter to spawn-fcgi on the
relevant information source. The problem is not too serious, as it only
happens with some Rails setups, but has no ill effects, and IMHO it should
be added to the default wizard.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 25, 2009, 2:13 AM

Post #2 of 2 (140 views)
Permalink
Issue 505 in cherokee: Does not change cwd when spawning a RoR fastcgi [In reply to]

Updates:
Status: Fixed
Owner: alobbs

Comment #1 on issue 505 by alobbs: Does not change cwd when spawning a RoR
fastcgi
http://code.google.com/p/cherokee/issues/detail?id=505

It's fixed now:

http://svn.cherokee-project.com/changeset/3385

Thanks for reporting! :-)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.