title: How to let RubyMine work with cygwin64
body: <p>I'm currently using <strong>cygwin64 on my Windows 10</strong> virtual machine. On there, I've installed <strong>rvm</strong>, and the default (and only) version of Ruby is <strong>ruby 2.4.0p0</strong>. Through my IDE (<strong>RubyMine</strong>) I've <strong>linked the ruby interpreter to the ruby interpreter installed on my cygwin64 installation</strong>. However, there are some <strong>issues</strong> i'm having which are quite annoying and I though I would ask here for anyone who might have had this issue before and fixed it some how.</p>
  
  <p>The issues are:</p>
  
  <ul>
  <li>Gems not found (requiring files are 'not found': including the standard library, methods not found, classes not found, ...)</li>
  <li>Using <code>cmd</code> I cannot use commands such as <code>bundler</code>, <code>gem</code> etc (I have to use the cygwin64 terminal)</li>
  <li>Some features on RubyMine don't work (including the Run button, etc)</li>
  </ul>
  
  <p>I've thought about path variables, but I don't really know which ones I have to set (and where to).</p>
  
  <p>Any help would be appriciated.</p>