RSpec keywords not recognised in RubyMine Editor
Completed
RSpec tests run OK from the CLI & with Run > Run... Menu item in RubyMine
But the editor does not recognise RSpec keywords like describe, it... and autocompletion does not work when writing tests. How can I fix this ?
I am using
- RubyMine 2019.3.3
- Build #RM-193.6494.37, built on February 11, 2020
- macOS 10.14.6
- Non-Bundled Plugins: AngularJS, IdeaVIM, NodeJS, com.intellij.plugins.html.instantEditing, training
- rbenv 1.1.2
- Ruby 2.5.6
Please sign in to leave a comment.
Hello,
could you please specify whether your Gemfile contains rspec gem and it's listed in External libraries?
Hi
I wasn't using bundler before.
Updated the Gemfile and now its working fine.
Thank you
You're welcome, good to know it works fine now.