title: Rails - uninitialized constant rails (nameerror)
body: <p>I tried to run a test by running</p>
  
  <p><code>bundle exec rspec spec/requests/static_pages_spec.rb</code> </p>
  
  <p>but that gave me </p>
  
  <p><code>'block in top (required)&gt;':uninitialized constant Rails (NameError)</code> </p>
  
  <p>It then had a lot more errors at the bottom...</p>
  
  <p>I've read through some stack overflow questions related to this but non worked and i am stuck... Please help!</p>
  
  <p>Thanks!
  <a href="https://www.dropbox.com/s/njcxc4yos73fj2r/uninitialised%20constant%20rails.PNG" rel="nofollow">https://www.dropbox.com/s/njcxc4yos73fj2r/uninitialised%20constant%20rails.PNG</a></p>
  
  <p>This is the full error!</p>