title: Rubymine (Ruby): Why can't I run rspec from within the IDE?
body: <p>If I run the following command from the terminal I am able to run the rspec test cases successfully. </p>
  
  <p><strong>bundle exec rspec spec/requests/api/contacts/v3_get_tags_spec.rb</strong></p>
  
  <p>However if I am in the Rubymine IDE and do:</p>
  
  <p>1- Right click on the file</p>
  
  <p>2- Select "Run"</p>
  
  <p>Then i get the following error message. </p>
  
  <p><strong>"in `require': cannot load such file -- spec_helper (LoadError)"</strong></p>
  
  <p>Also i am seeing a lot of errors related to gems not found, i feel link Rubymine is not configured correctly. What am i missing?</p>
  
  <p>Note: Both the terminal and the IDE are running in the same root directory. I am pretty sure there is a problem with the configuration of the IDE. I checked the preference setting and it is using the same version of ruby as the one I am running in the termina.</p>
  
  <p>Any help on the issue would be greatly appreciated. </p>