Slightly tweak dependencies.

- Dup RUBY_VERSION to work around rubygems bug. (bundler #3187)
- Add pry to development dependencies.