Sha256: a885c21148a0dd613371ec7555073751ecc7afd04d290c977d1346c8b848b1be
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
# Installation ## Production ### Install from rubygems.org ``` $ gem install itdis ``` ## Development It's better to use [rbenv](https://github.com/rbenv/rbenv) to have latests version of ruby and to avoid trashing your system ruby. ### Install from rubygems.org ``` $ gem install --development itdis ``` ### Build from git Just replace `x.x.x` with the gem version you see after `gem build`. ``` $ git clone https://gitlab.com/noraj/itdis.git itdis $ cd itdis $ gem install bundler $ bundler install $ gem build itdis.gemspec $ gem install itdis-x.x.x.gem ``` Note: if an automatic install is needed you can get the version with `$ gem build itdis.gemspec | grep Version | cut -d' ' -f4`. ### Run the API in irb without installing the gem Useful when you want to try your changes without building the gem and re-installing it each time. ``` $ git clone https://gitlab.com/noraj/itdis.git itdis $ cd itdis $ irb -Ilib -ritdis ``` Same for the CLI tool: ``` $ ruby -Ilib -ritdis bin/itdis ``` # Publishing ``` $ git tag vx.x.x $ gem push itdis-x.x.x.gem ``` https://guides.rubygems.org/publishing/
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
itdis-0.0.1 | pages/INSTALL.md |