Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.71 kb
# -*- mode: ruby -*- vim:set ft=ruby:
ENV['HOME'] ||= ENV['USERPROFILE'] || File.dirname(__FILE__)
$LOAD_PATH.unshift(File.expand_path('~/.ruby/lib'), File.expand_path('~/.ruby'))
$LOAD_PATH.uniq!
%w(tpope rubygems pry pry-editline).each do |lib|
begin
require lib
rescue LoadError
end
end
(Pry.start; exit) if defined?(Pry)
IRB.conf[:AUTO_INDENT] = true
IRB.conf[:LOAD_MODULES] |= %w(irb/completion stringio enumerator ostruct)
IRB.conf[:SAVE_HISTORY] = 100
IRB.conf[:HISTORY_FILE] = if defined?(Bundler)
Bundler.tmp.parent.join('history.rb')
else
File.expand_path('~/.history.rb')
end
Jump to Line
Something went wrong with that request. Please try again.