Moved pry to development environment only in Gemfile, as one of it's dependencies, method_source was failing to compile on the CI server.