Skip to content

Commit dea4055

Browse files
committed
Add troubleshooting to docs for higher Ruby versions
1 parent d17887e commit dea4055

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ doc/
66
vendor/
77
profile/out/
88
coverage/
9+
.ruby-version

CONTRIBUTING.md

+9
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,21 @@ And run the test suite (should be all green with pending tests):
2222

2323
If you have problems installing nmatrix, please consult the [nmatrix installation wiki](https://github.com/SciRuby/nmatrix/wiki/Installation) or the [mailing list](https://groups.google.com/forum/#!forum/sciruby-dev).
2424

25+
**NOTE**: `Daru` is compatible with Ruby versions < 2.5; for later Ruby versions it breaks, returning the following error in versions >= 2.5.
26+
```
27+
/gems/packable-1.3.10/lib/packable/extensions/io.rb:86:in `pos': Illegal seek @ rb_io_tell - <STDOUT> (Errno::ESPIPE)
28+
```
29+
To reproduce this issue or explore this error further, head over to
30+
[issue #500](https://github.com/SciRuby/daru/issues/500),
31+
[issue #503](https://github.com/SciRuby/daru/issues/503). Also, if you want to fix this issue, then please discuss it here : [#505](https://github.com/SciRuby/daru/issues/500)
32+
2533
While preparing your pull requests, don't forget to check your code with Rubocop:
2634

2735
`bundle exec rubocop`
2836

2937
[Optional] Install all Ruby versions which Daru currently supports with `rake spec setup`.
3038

39+
3140
## Basic Development Flow
3241

3342
1. Create a new branch with `git checkout -b <branch_name>`.

0 commit comments

Comments
 (0)