Errors produced when starting nautilus in a ruby script

I have the following line in a script:-

proc{nautilus --no-desktop ~/path/to/file &}

which produces the following immediately after nautilus is closed-
(nautilus:6832): Eel-WARNING **: “nautilus-metafile.c: metafiles” hash
table still has 1 element at quit time (keys above)
(nautilus:6832): Eel-WARNING **: “nautilus-directory.c: directories”
hash table still has 1 element at quit time (keys above)
(nautilus:6832): Bonobo-WARNING **: Leaked a total of 3 refs to 3 bonobo
object(s)

I think that my line is legitimate and I do have permissions to all of
the files and directories that I am pointing nautilus to. What can I do
about this? Has any one come across this before?

An old URL but may be relevant
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118364