This blog gives solution to our recent problem when we decided to install Windows Bash and use it as development environment. As we use Ruby language with Ruby Version Manager, setting up rvm using official rvm documentation did not work for our setup. Windows bash gives you Linux environment directly from Windows 10.
we concluded that following line should be pasted at the beginning of ~/.bashrc
Exit and renter windows bash, go to folder with .ruby-version and .ruby-gemset, and your ruby environment is automatically set.