Skip to content

Commit 8b2d248

Browse files
committed
Some notes about setting up IntelliJ
1 parent 8afdecc commit 8b2d248

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,19 @@ Go back to your pull request after a few minutes and see whether it passed muste
114114

115115
Please note that testing concurrency is hard. Very hard. We have a few tests that occasionally fail due (mostly) to incorrect synchronization within the test itself. If everything passes locally but you see an error on CI, it's possibly you've become victim to one of the tests. Don't worry, the Concurrent Ruby team reviews the tests output of all failed CI runs and will let you know if the failing test is unrelated to your commit.
116116

117+
#### IntelliJ
118+
119+
To setup this project with IntelliJ Ultimate, this worked well:
120+
* Save any local changes to `ext/concurrent-ruby`
121+
* `rm -rf ext/concurrent-ruby`
122+
* Open the root `concurrent-ruby` folder as a Ruby module
123+
* Set `lib/concurrent-ruby` as `lib/concurrent-ruby-edge` as sources
124+
* `git checkout ext/concurrent-ruby`
125+
* Import `ext/concurrent-ruby` as Java module
126+
127+
If it's imported directly without removing `ext/concurrent-ruby` then the whole project is recognized as a Java module,
128+
and `require` resolution, etc does not work.
129+
117130
#### Thank You
118131

119132
Please do know that we really appreciate and value your time and work. We love you, really.

0 commit comments

Comments
 (0)