Ruby

From Ever changing code
Revision as of 21:30, 27 February 2019 by Pio2pio (talk | contribs) (→‎Install =)
Jump to navigation Jump to search

Ruby adventures...

Install

sudo apt-get install ruby ruby-dev
 
# Install dependencies
bundler install

Basic file structure

#!/usr/bin/env ruby

# require 'yaml'
require 'fileutils'
FileUtils.touch('file.txt.OK')