Update minimum required Ruby version

Fix for #334.