Invalid byte sequence in UTF-8 (ArgumentError) with ocra gem on windows 10 machine

Hi,

I just downloaded ruby devkit 3.1.2-1 and i created a sample hello word script like that:

#!/usr/bin/env ruby

puts "Hello world"

Then in installed the ocra gem because i want to convert my ruby script to an executable.I have the following errors when i try to convert it

Is this possible to convert a ruby scrypt o an .exe file ? What im missing ?

Thanks