Skip to content

Instantly share code, notes, and snippets.

@nikushi
Created July 22, 2019 12:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikushi/b5888a4c7b76069c14335c8acef989fc to your computer and use it in GitHub Desktop.
Save nikushi/b5888a4c7b76069c14335c8acef989fc to your computer and use it in GitHub Desktop.
RubyMine toolbox -- got error on starting rspec : cannot load such file -- teamcity/spec/runner/formatter/teamcity/formatter (LoadError)
```
cannot load such file -- teamcity/spec/runner/formatter/teamcity/formatter (LoadError)
```
* RubyMine (installed by toolbox)
* rbenv
# workaround
found `teamcity/spec/runner/formatter/teamcity/formatter.rb` under `~/Library/Application\ Support/JetBrains/Toolbox/apps/RubyMine/ch-0/191.7479.66/RubyMine.app/Contents/rb/testing/patch/bdd`.
It seems that RubyMine does not refer to files under that directory..
To fix this:
```
ln -s ~/Library/Application\ Support/JetBrains/Toolbox/apps/RubyMine/ch-0/191.7479.66/RubyMine.app/Contents/rb/testing/patch/bdd/teamcity /Users/nikushi/.rbenv/versions/2.4.2/lib/ruby/2.4.0/
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment