pygments / pygments.rb

💎 Ruby wrapper for Pygments syntax highlighter
MIT License
572 stars 141 forks source link

Fix #256 by changing python Windows search heuristic #257

Closed george-palmsens closed 11 months ago

george-palmsens commented 11 months ago

Prefer python3 and python over py -3 on Windows. This will ensure that an active virtual environment is found, rather than an arbitrary system python.

george-palmsens commented 11 months ago

Sorry for these style issue, I'm not a ruby dev

slonopotamus commented 11 months ago

Me neither, no problem :D

george-palmsens commented 11 months ago

@slonopotamus Thanks for the quick response!

We're currently using a backport on my fork as our pygments gem to solve this issue - Do you know when this change might make it into a published release?

slonopotamus commented 11 months ago

TaDaa! https://github.com/pygments/pygments.rb/releases/tag/v2.4.1

george-palmsens commented 11 months ago

Amazing thank you!