Skip to content

Instantly share code, notes, and snippets.

@deivinsontejeda
Created August 22, 2014 23:32
Show Gist options
  • Save deivinsontejeda/cdd4a27b6a0164a1f1af to your computer and use it in GitHub Desktop.
Save deivinsontejeda/cdd4a27b6a0164a1f1af to your computer and use it in GitHub Desktop.
.irbrc
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")
#begin
# require 'pry'
# Pry.start
#rescue LoadError
# puts "you need run 'gem install pry'"
#end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment