Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
banister opened this Issue · 1 comment

3 participants

John Mair Kamil K. Lemański Conrad Irwin
John Mair
Owner

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

Conrad Irwin ConradIrwin referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Kamil K. Lemański

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
Something went wrong with that request. Please try again.