Avoid using a system Ruby if possible

in tool/update-NEWS-gemlist.rb
This commit is contained in:
Takashi Kokubun 2023-10-19 16:09:33 -07:00
parent b93553bb7e
commit 6d42f4dd2d

View File

@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'json'
news = File.read("NEWS.md")
prev = news[/since the \*+(\d+\.\d+\.\d+)\*+/, 1]