ruby on rails - Environment Variable
<p>Environment variable</p>

<p>After installing rails in windows when I run command  in cmd it gets an error that</p>

<p>the system cannot find the path specified</p>

<p>and second when I run command  in cmd it gets an error that</p>

<blockquote>
  <p>ERROR: could not find a valid gem 'railties' &lt;= 4.2.3> here is why:</p>
  
  <p>unable to download data from <a href="https://rubygems.org/" rel="nofollow noreferrer">https://rubygems.org/</a> - SSL_connect
  returned=1 errorno=0 state=SSLv3 read server certificate B:
  certificate verify failed <a href="https://api.rubygems.org/specs.4.8.gz" rel="nofollow noreferrer">https://api.rubygems.org/specs.4.8.gz</a></p>
</blockquote>