Skip to content

Commit e053bf5

Browse files
authored
Merge pull request #261 from kojix2/ffi-rzmq-runtime-dependency
Ffi rzmq runtime dependency
2 parents eb8dc27 + 2394e34 commit e053bf5

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ IRuby is a Ruby kernel for [Jupyter project](http://try.jupyter.org/).
1414
* [ffi-rzmq](https://github.com/chuckremes/ffi-rzmq) and [libzmq](https://github.com/zeromq/libzmq)
1515
* [CZTop](https://gitlab.com/paddor/cztop) and [CZMQ](https://github.com/zeromq/czmq)
1616

17+
If both ffi-rzmq and cztop are installed, ffi-rzmq is used. If you prefer cztop, set the following environment variable.
18+
```sh
19+
export IRUBY_SESSION_ADAPTER="cztop"
20+
```
21+
1722
We recommend the [Pry](https://github.com/pry/pry) backend for full functionality.
1823

1924
### Ubuntu

iruby.gemspec

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ Gem::Specification.new do |s|
1010
s.homepage = 'https://github.com/SciRuby/iruby'
1111
s.license = 'MIT'
1212

13-
s.files = `git ls-files`.split($/)
13+
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
1414
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
1515
s.test_files = s.files.grep(%r{^test/})
16-
s.require_paths = %w(lib)
16+
s.require_paths = %w[lib]
1717

1818
s.required_ruby_version = '>= 2.3.0'
1919

2020
s.add_dependency 'bond', '~> 0.5'
21-
s.add_dependency 'multi_json', '~> 1.11'
22-
s.add_dependency 'mimemagic', '~> 0.3'
2321
s.add_dependency 'data_uri', '~> 0.1'
22+
s.add_dependency 'ffi-rzmq'
23+
s.add_dependency 'mimemagic', '~> 0.3'
24+
s.add_dependency 'multi_json', '~> 1.11'
2425

25-
s.add_development_dependency 'rake'
2626
s.add_development_dependency 'minitest'
27-
s.add_development_dependency 'ffi-rzmq'
2827
s.add_development_dependency 'pycall', '>= 1.2.1'
28+
s.add_development_dependency 'rake'
2929
end

0 commit comments

Comments
 (0)