rspec not being correctly recognized

I installed ruby using macports so it's installed in a non-standard location.   i have gems installed and have installed the gem for rspec.  i can run rspec outside of rubymine.  if i go to the Ruby SDK and Gems screen under preferences, it shows that i have the spec gem installed.  see the attached file.

version screenshot attached.

i am running on os x 10.7.0

code completion does not recognize rspec and i cannot run as an rspec test

Screen Shot 2011-07-26 at 2.57.28 PM.png
Screen Shot 2011-07-26 at 2.56.43 PM.png
1 comment
Comment actions Permalink

1) I needed to create a bundler Gemfile in the project:

   source ""
   gem 'rspec', '2.6.0'


2) please try to install rspec-core 2.6.0:

   gem install --version '2.6.0' rspec-core

I got an error message that Idea/RubyMine tries to find rspec-core 2.6,0 even though 2.6.4 was installed

hope this helps


Please sign in to leave a comment.