'Can't run ruby application successfully on ubuntu subsystem(wsl) on windows?

I have installed Ubuntu(WSL) on Windows to run the ruby application on that Ubuntu.

I just clone a repo in Ubuntu(WSL) and just hit bundle install so it is giving this error every time

-bash: /mnt/c/Ruby27-x64/bin/bundle: C:/Ruby27-x64/bin/ruby.exe: bad interpreter: No such file or directory

what's wrong here?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source