Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Nov 21, 2024
1 parent c549054 commit be466b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
c = File.read('/usr/local/lib/ruby/site_ruby/3.0.0/rubygems.rb')
lines = c.split("\n")
lines[593] = "puts 'XXX'; puts defined?(Psych); puts defined?(YAML); puts'YYY';pp $LOAD_PATH; puts'YYY';pp Gem.loaded_specs.keys;puts'YYYYYY';" + lines[593]
lines[593] = "puts 'AAA'; p $$; p ARGV; puts 'XXX'; p defined?(Psych); p defined?(YAML); puts'YYY';pp $LOAD_PATH; puts'YYY';pp Gem.loaded_specs.keys;puts'YYYYYY';" + lines[593]
File.open('/usr/local/lib/ruby/site_ruby/3.0.0/rubygems.rb','w') {|f|f<<lines.join("\n")}
Expand Down

0 comments on commit be466b2

Please sign in to comment.