-
Notifications
You must be signed in to change notification settings - Fork 29
Building and Testing
Andrew Newton edited this page Dec 23, 2017
·
1 revision
To get the source, issue the following git command.
git clone https://github.com/arinlabs/nicinfo.git
To develop in isolation, use Ruby Version Manager (RVM) and issue a command like
rvm use 2.3.1@nicinfo
Running and testing is best done with bundler. To install it gem install bundler
.
Then use bundler to install NicInfo's dependencies: bundle install
.
To run the tests: bundle exec rake test
To run Nicinfo: bundle exec bin/nicinfo -V .
If you are building the source because it is the best way for you to install NicInfo, then build and install the gem. To build the gem: gem build nicinfo.gemspec
. You can then gem install nicinfo-X.X.X.gem
where X.X.X is the version of the gem built.