Bad Interpreter in WSL2
Bad Interpreter in WSL2
While using WSL2 to manage my jekyll posts, i ran into a problem where in the jekyll commands were getting a bad interpreter: No such file or directory error. After some research, the problem was because it was conflicting with a jekyll path installed on my win10 machine. Fixing this was fairly easy to do:
- Create or update the
wsl.conf$ sudo vim /etc/wsl.conf - Add the following lines
[interop] appendWindowsPath = false - Save and exit
:x - Restart Ubuntu or your terminal