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

Fix erb executable

Run ERb processing unconditionally since __FILE__ and $0 doesn't match
in a gem context.
This commit is contained in:
Lars Kanis 2020-08-24 14:18:16 +02:00 committed by Hiroshi SHIBATA
parent e6ac1fb612
commit 8d68f54c94
Notes: git 2020-08-25 18:12:09 +09:00

View file

@ -171,6 +171,4 @@ EOU
end
end
if __FILE__ == $0
ERB::Main.run
end
ERB::Main.run