Hi,
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

|Rails.root: /home/resource_portal/website|

Application Trace <http://localhost:3000/upload#> | Framework Trace <http://localhost:3000/upload#> | Full Trace <http://localhost:3000/upload#>

|app/models/upload.rb:29:in `initialize'
app/models/upload.rb:29:in `open'
app/models/upload.rb:29:in `filesave'
app/controllers/upload_controller.rb:16:in `create'
rake-0.8.7/ruby/1.9.1/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:4:in
 `send_action'
rake-0.8.7/ruby/1.9.1/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:151:in
 `process_action'|
...

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?

Also the reason I want to run in Daemon mode is because I have to host my app 
on a uni virtual machine, and start the server after logging in with ssh. When 
I close the ssh connection the server (if not running in background) also seems 
to get killed.

Any ideas as to how I may be able to work around this?

Thanks,
Jen.


--
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to