F
Frayzhe
I'm trying to figure out a way to force STDOUT to be synchronized when
I run scripts with Ruby. I'm using emacs and MKSNT on Windows XP, and
I can't see the output (nor give input) when I run things like the
generate script for Rails, the WEBrick server, etc. because output is
buffered.
I tried putting -e "STDOUT.sync = true" before my script invocation,
but it looks like Ruby doesn't run a given script file if the -e is
given. Boo.
Does anyone know a way to fix this? I can run the scripts outside of
emacs, but it's a real pain...
Frayzhe
I run scripts with Ruby. I'm using emacs and MKSNT on Windows XP, and
I can't see the output (nor give input) when I run things like the
generate script for Rails, the WEBrick server, etc. because output is
buffered.
I tried putting -e "STDOUT.sync = true" before my script invocation,
but it looks like Ruby doesn't run a given script file if the -e is
given. Boo.
Does anyone know a way to fix this? I can run the scripts outside of
emacs, but it's a real pain...
Frayzhe