asdf-vm / asdf-ruby

Ruby plugin for asdf version manager
https://github.com/asdf-vm/asdf
MIT License
669 stars 134 forks source link

fix: default-gems empty line #417

Open jmschp opened 3 weeks ago

jmschp commented 3 weeks ago

What

This PR address Issue https://github.com/asdf-vm/asdf-ruby/issues/335. Where a .default-gems file without a final empty line, will skip the last gem specified.

The fix is based on SO answer.