Created
July 22, 2019 12:33
-
-
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
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