0

I created a little ruby script on OSX and i would like to use it on Windows.

How can i ask windows to start my script in the ruby environment, without specifying the ruby keyword ?

I did it this way on OSX

#!/usr/bin/env ruby

But on windows i don't know.

I would prefer to not have the .rb extension.

Thank you in advance.

0 Answers0