Issue with bundler under Windows Subsystem for Linux


#1

I’m testing under WSL and have an issue with bundler. I’ve done a gem install on both Jekyll and Bundler. When I ran jekyll new foo, I get:

Running bundle install in /home/ray/jekyll1...
  Bundler: ruby: No such file or directory -- /usr/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/exe/bundle (LoadError)

I can confirm that there is no /usr/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/exe/bundle directory. When I do whereis bundler I see: bundler: /usr/local/bin/bundler /mnt/c/tools/ruby23/bin/bundler /mnt/c/tools/ruby23/bin/bundler.bat.

So it appears to have installed, but not as a gem, or not in the proper gem folder I guess?