warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#openopen ‘http://example.com’↓URI.open ‘http://example.com’へ変更するとエラーがなくなる。解決策Ruby 2.7で発生する「プロを目指す人のためのRuby入門」との差異について参考URLhttps://qiita.com/jnchito/items/aa4ebf6f0e363a1b8098