Gtk-WARNING **: Locale not supported by C library.Using the fallback
To no avail.
Any ideas?
Redirecting stderr to stdout won’t solve your problem, as system prints
stdout
on screen (unlike the backtick operator which stores the output in a
variable). To avoid displaying it, you should redirect it to /dev/null.
You got that same error running gedit directly from the command line,
didn’t you? I don’t think it would behave any differently run from
Ruby, would it?