title: How do I fix an error with Ruby Gems Installer on WSL?
body: <p>I tried to install a package using RubyGems (please note that I use Windows Subsystem for Linux). I was going to install Jekyll package.</p>
  
  <p>I typed <code>$ gem install jekyll</code>. After that it came up with an error:</p>
  
  <pre><code>Building native extensions. This could take a while...
  /usr/lib/ruby/2.5.0/rubygems/ext/builder.rb:76: warning: Insecure world writable dir /mnt/c in PATH, mode 040777
  ERROR:  Error installing jekyll:
          ERROR: Failed to build gem native extension.
  </code></pre>
  
  <p>Can you please explain the error and any possible ways to fix it?</p>