On Sun, Jul 3, 2011 at 6:19 AM, Jen <jen.bot...@gmail.com> wrote: > When running my app in development with WEBrick in daemon mode I get the > following error when trying to upload a file: > > Errno::ENOENT in UploadController#create > > No such file or directory - public/data/upload/google
> I do not get this error when not running in daemon mode. I've googled a bit > but can't find a reason. Does anyone have any ideas? My guess would be that 'current working directory' doesn't mean the same thing to a daemonized process; how are you specifying the target directory? Regardless... > Also the reason I want to run in Daemon mode is ... Why Webrick? It's only intended for desktop development work; you would be better off using e.g. unicorn (my preference) or passenger in a production environment. Alternatively, if those aren't an option, see if you have `screen` on the system you're using (http://www.gnu.org/software/screen/). HTH, -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.