Fix ruby and shell snippets in README.fr.md
Fix ruby or shell syntax in README.md
Merge pull request #798 from michelc/master

Updating snippets.