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
 

Index | Next | Previous | View Flat


codesite-noreply at google

Jun 23, 2009, 5:32 PM


Views: 160
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

Subject User Time
Issue 505 in cherokee: Does not change cwd when spawning a RoR fastcgi codesite-noreply at google Jun 23, 2009, 5:32 PM
    Issue 505 in cherokee: Does not change cwd when spawning a RoR fastcgi codesite-noreply at google Jun 25, 2009, 2:13 AM

  Index | Next | Previous | View Flat
 
 


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