Always display platform as a debug statement, not only for the windows platform. Use "DEBUG: " prefix.
Change message to: "Gear platform is '#{ ... }'"