Fix for eruby and a ruby bugfix
Documentation update