Why can't I invoke run on a Ruby file for non-system Rubies when using RVM?
For the system Ruby I can right click the buffer and choose Run... If I switch the Ruby in preferences to the RVM ruby, that option no longer appears in the right-click dialog. Ideas?
Please sign in to leave a comment.
I deleted and re-created the .idea directory and then it worked on general files, but nothing ending in _spec.rb. After renaming same file to candidate_spa.rb it was runnable.
Please try RubyMine 2.0.2 rc2.
It is supposed to work. Which file do you want to launch? Ordinary ruby script or spec test?
Check that "rspec" gem (and "rspec-rails" in Rails app) is attached to you project (see Settings | Ruby SDK and Gems). RubyMine cannot launch _spec.rb files with RSpec test runner if rspec support isn't enabled (e.g. rspec gem attaced, etc.)