Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
require 'irb/completion'
ARGV.concat [ "--readline", "--prompt-mode", "simple" ]
IRB.conf[:EVAL_HISTORY] = 1000
IRB.conf[:SAVE_HISTORY] = 1000
IRB.conf[:HISTORY_FILE] = File::expand_path("~/.irbhistory")
# require 'pry'
# Pry.start
#rescue LoadError
# puts "you need run 'gem install pry'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment