Topic: Can't write to file system when WEBrick is detached

Spent the whole day trying to figure this out.

When I run

rails server

WEBrick starts and my app easily writes to the file system with, "w") {|f| f.puts "Hello"}

but when I run

rails server -d

this won't work.

I'd be grateful if anyone points me in the right direction.

Last edited by anerdo (2012-11-16 20:47:28)