braintree / runbook

A framework for gradual system automation
MIT License
734 stars 43 forks source link

Update pry to avoid warnings on ruby 2.7 #47

Closed lyang closed 3 years ago

lyang commented 3 years ago

pry (0.12.x) causes warnings on Ruby 2.7:

<main>:1: warning: __FILE__ in eval may not return location in binding; use Binding#source_location instead
/Users/jin/.anyenv/envs/rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/pry-0.12.2/lib/pry/commands/whereami.rb:40: warning: in `eval'

The warning has been fixed since pry (0.13) See details in https://github.com/pry/pry/issues/2097

Note

method_source has to be updated to 1.0 for pry (0.13)