.pryrc is loaded twice when pry is invoked from ~ directory #682

Closed
banister opened this Issue Aug 5, 2012 · 1 comment

Projects

None yet

3 participants

@banister
Owner
banister commented Aug 5, 2012

This is due to pry loading both ~/.pryc and ./.pryrc

kml commented Dec 20, 2012

I have same problem with pry 0.9.10. My workaround is:

$ cat ~/.pryrc 
unless defined?(PRYRC_LOADED)
  PRYRC_LOADED=1

  puts RUBY_DESCRIPTION
  puts 'Type "help" for more information.'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment