'HOME environement variable must be set and pint to a directory' Error
<p>I'm trying to run Ruby on a Windows computer (don't ask...). When I type in 'irb' I receive:</p>

<pre><code>$ irb
C:/Ruby22/lib/ruby/site_ruby/2.2.0/rbreadline.rb:1097:in `&lt;module:RbReadline&gt;': HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory (RuntimeError)
        from C:/Ruby22/lib/ruby/site_ruby/2.2.0/rbreadline.rb:17:in `&lt;top (required)&gt;'
        from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby22/lib/ruby/site_ruby/2.2.0/readline.rb:10:in `&lt;module:Readline&gt;'
        from C:/Ruby22/lib/ruby/site_ruby/2.2.0/readline.rb:8:in `&lt;top (required)&gt;'
        from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby22/lib/ruby/2.2.0/irb/input-method.rb:129:in `&lt;module:IRB&gt;'
        from C:/Ruby22/lib/ruby/2.2.0/irb/input-method.rb:14:in `&lt;top (required)&gt;'
        from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby22/lib/ruby/2.2.0/irb.rb:18:in `&lt;top (required)&gt;'
        from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby22/lib/ruby/2.2.0/rubygems  
</code></pre>

<p>Currently my HOME variable is set to %USERPROFILE%</p>

<p>I don't know if this is helpful </p>

<pre><code>$ ruby -v
ruby 2.2.4p230 (2015-12-16 revision 53155) [i386-mingw32]
</code></pre>

<p>If there seems to be something apparent about how I should be setting this up, please tell me. Thanks!</p>