1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Merge pull request #1118 from richo/features/recursive_pry_hack

Ensures that loading pry inside config doesn't explode
This commit is contained in:
Robert 2014-01-31 17:46:18 -08:00
commit 6b14f3dfa1

View file

@ -51,7 +51,9 @@ class Pry
# This method can also be used to reload the files if they have changed.
def self.load_rc_files
rc_files_to_load.each do |file|
load_file_at_toplevel(file)
critical_section do
load_file_at_toplevel(file)
end
end
end