- Install pry.
gem install pry- Require pry at the top of whatever Ruby file to want to launch it from.
require 'pry'- Put this wherever you want to start a REPL. Exiting the REPL will cause your program to continue executing.
binding.prygem install pryrequire 'pry'binding.pry