If I run:
on both platforms I get a correct path to su_trimble_connect.rb file.
If I rename this file to su_trimble_connect.2rb, the Ruby command:
will find the file just on Windows (21.0.391). On Mac (21.0.392) the file will not be found.
I tested it in SU2019 and it was returning the path on both platforms. I didn’t test it in SU2020.
I am curious whether I can force somehow SU2021.392 on Mac to find the .2rb file too.
I use the .rb rename to toggle between two different plugin versions. .2rb will not be executed. This is why I need to find the presence of deactivated “v2”.