It's not quite as convenient as just specifying version numbers but you can
also supply a ref: argument with the specific commit hash in git. So you
can do:

gem 'mygem', :git => git / git.myserver.com:myuser/mygem.git', :ref =>
'ae1245.....'
(supressed text/html)
Unsubscribe: <mailto:ruby-talk-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>