/ruby-skeleton

Project skeleton for Ruby.

Primary LanguageShellMIT LicenseMIT

RubySkeleton

Setup

Install project dependencies:

script/setup.sh

Usage

Run the main program:

ruby -I lib bin/rs

Run the main program inside the container:

docker run -it --rm funtimecoding/ruby-skeleton

Development

Configure Git on Windows before cloning:

git config --global core.autocrlf input

Install NFS plug-in for Vagrant on Windows:

vagrant plugin install vagrant-winnfsd

Create the development virtual machine on Linux and Darwin:

script/vagrant/create.sh

Create the development virtual machine on Windows:

script\vagrant\create.bat

Run tests, style check and metrics:

script/test.sh [--help]
script/check.sh [--help]
script/measure.sh [--help]

Build project:

script/build.sh

Install Debian package:

sudo dpkg --install build/ruby-skeleton_0.1.0-1_all.deb

Show files the package installed:

dpkg-query --listfiles ruby-skeleton