title: Getting rails error
body: <p>I previously installed rails with the preinstalled ruby that comes with mac. I have recently installed ruby through rvm. </p>
  
  <p>I  then did </p>
  
  <pre><code>  rails -v 
  </code></pre>
  
  <p>and got the following error</p>
  
  <pre><code> kingsosina$ rails -v
   /Library/Ruby/Site/2.0.0/rubygems/dependency.rb:298:in `to_specs': Could not find      'railties' (&gt;= 0) among 5 total gem(s) (Gem::LoadError)
  from /Library/Ruby/Site/2.0.0/rubygems/dependency.rb:309:in `to_spec'
  from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `gem'
  from /usr/bin/rails:22:in `&lt;main&gt;'
  </code></pre>
  
  <p>What has gone wrong here? Do I need to gem install rails again?</p>
  
  <p>my lastest output </p>
  
  <pre><code> kingsosina$ which ruby
   /Users/kingsosina/.rvm/rubies/ruby-2.0.0-p353/bin/ruby
   kingsosina$ which rails
   /Users/kingsosina/.rvm/gems/ruby-2.0.0-p353/bin/rails
   kingsosina$ which gem
   /Users/kingsosina/.rvm/rubies/ruby-2.0.0-p353/bin/gem
   kingsosina$ 
  </code></pre>
  
  <p>Does everything seem ok? and how does terminal know to reference this version of ruby instead of the pre-installed version on the mac, when i do ruby -v?</p>