<commit_before># IRuby

[![Gem Version](https://badge.fury.io/rb/iruby.svg)](https://badge.fury.io/rb/iruby)
[![Build Status](https://travis-ci.org/SciRuby/iruby.svg?branch=master)](https://travis-ci.org/SciRuby/iruby)

IRuby is a Ruby kernel for [Jupyter project](http://try.jupyter.org/).

## Installation
How to set up [ZeroMQ](http://zeromq.org/) depends on your environment.
You can use one of the following libraries. 
* [CZTop](https://gitlab.com/paddor/cztop) and [CZMQ](https://github.com/zeromq/czmq) >= 4.0.0
* [ffi-rzmq](https://github.com/chuckremes/ffi-rzmq) and [libzmq
](https://github.com/zeromq/libzmq) >= 3.2

### Ubuntu
Install Jupyter with [Anaconda](https://www.anaconda.com/) (recommended). 

#### Setup ZeroMQ on Ubuntu 16.04
CZTop requires CZMQ >= 4.0.0 and ZMQ >= 4.2.0. The official packages for Ubuntu 16.04 don't satisfy these version requrements, so you need to install from source.

```shell
sudo apt install libtool libffi-dev ruby ruby-dev make
sudo apt install git libzmq-dev autoconf pkg-config
git clone https://github.com/zeromq/czmq
cd czmq
./autogen.sh && ./configure && sudo make && sudo make install
```

#### Setup ZeroMQ on Ubuntu 17.04 to 18.10
Use official packages.
<commit_msg>Add binder link<commit_after># IRuby

[![Gem Version](https://badge.fury.io/rb/iruby.svg)](https://badge.fury.io/rb/iruby)
[![Build Status](https://travis-ci.org/SciRuby/iruby.svg?branch=master)](https://travis-ci.org/SciRuby/iruby)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/RubyData/binder/master?filepath=ruby-data.ipynb)

IRuby is a Ruby kernel for [Jupyter project](http://try.jupyter.org/).

## Installation
How to set up [ZeroMQ](http://zeromq.org/) depends on your environment.
You can use one of the following libraries. 
* [CZTop](https://gitlab.com/paddor/cztop) and [CZMQ](https://github.com/zeromq/czmq) >= 4.0.0
* [ffi-rzmq](https://github.com/chuckremes/ffi-rzmq) and [libzmq
](https://github.com/zeromq/libzmq) >= 3.2

### Ubuntu
Install Jupyter with [Anaconda](https://www.anaconda.com/) (recommended). 

#### Setup ZeroMQ on Ubuntu 16.04
CZTop requires CZMQ >= 4.0.0 and ZMQ >= 4.2.0. The official packages for Ubuntu 16.04 don't satisfy these version requrements, so you need to install from source.

```shell
sudo apt install libtool libffi-dev ruby ruby-dev make
sudo apt install git libzmq-dev autoconf pkg-config
git clone https://github.com/zeromq/czmq
cd czmq
./autogen.sh && ./configure && sudo make && sudo make install
```

#### Setup ZeroMQ on Ubuntu 17.04 to 18.10
Use official packages.

{'fraction_non_alphanumeric': 0.16388349514563108, 'fraction_numerical': 0.021359223300970873, 'mean_word_length': 4.333333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 22, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4751174', 'n_tokens_mistral': 1061, 'n_tokens_neox': 955, 'n_words': 233}