allow basic patchlevel support in ruby directive of Gemfile, closes #2914