title: Ruby on rails :- Could not find RubyGem rails (>= 0) (Gem::LoadError)
body: <p>I am very new to Ruby on Rails. I installed ruby on rails on my Windows 7 using the installer in <a href="http://railsinstaller.org/" rel="nofollow noreferrer">http://railsinstaller.org/</a>. I could create a project once and thereafter I was not (I dont know what did I do in between :-( ). </p>
  
  <p>The complete errors messages are :-</p>
  
  <p><strong>On creating a new project</strong> :-</p>
  
  <pre><code>c:\Sites&gt;rails new Tickets_Test
  E:/Ashish/Ruby192/lib/ruby/1.9.1/rubygems.rb:762:in `report_activate_error': Cou
  ld not find RubyGem rails (&gt;= 0) (Gem::LoadError)
          from E:/Ashish/Ruby192/lib/ruby/1.9.1/rubygems.rb:219:in `activate'
          from E:/Ashish/Ruby192/lib/ruby/1.9.1/rubygems.rb:1065:in `gem'
          from E:/Ashish/RailsInstaller/Ruby1.8.7/bin/rails:18:in `&lt;main&gt;'
  </code></pre>
  
  <p><strong>on just getting the version</strong>:- </p>
  
  <pre><code>c:\Sites&gt;rails --version
  E:/Ashish/Ruby192/lib/ruby/1.9.1/rubygems.rb:762:in `report_activate_error': Cou
  ld not find RubyGem rails (&gt;= 0) (Gem::LoadError)
          from E:/Ashish/Ruby192/lib/ruby/1.9.1/rubygems.rb:219:in `activate'
          from E:/Ashish/Ruby192/lib/ruby/1.9.1/rubygems.rb:1065:in `gem'
          from E:/Ashish/RailsInstaller/Ruby1.8.7/bin/rails:18:in `&lt;main&gt;'
  </code></pre>
  
  <p>Any idea why the above is happening?</p>
  
  <p><strong>EDIT</strong> </p>
  
  <p>Appearently there are two command prompts :-
   Ruby command prompt :-
  <img src="https://i.stack.imgur.com/R0qx3.png" alt="Ruby">
  and
   Ruby for rails command prompt (The problem is resolved using this command prompt):-
  <img src="https://i.stack.imgur.com/A4IPh.png" alt="Ruby on rails"></p>
  
  <p>I was using ruby command prompt. Sounds like a stupid question, however, I am not sure how there are "two" command prompts?</p>