Update ruby
Saving/loading documents
Fix of return value of xquery cmd