Working directory for the Ruby Essentials Part 3 Files, Formats and Templates training course on Linked In
Topics include:
- handling owner(s) and permission(s)
- read, write and execute
Some sample purposes are:
- robust/basic saving
- configuration
- transfer data
All of the examples are meant to be run within the ruby:2.5
container.
$ /ruby-essential-training-p1# docker run --name started-with-ruby -v ${pwd}:/course -w /course -it --rm ruby:2.5 /bin/bash
$ /course#
at this point you can run the examples as expected:
$ /course# ruby -v
ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux]
$ /course# ruby 1-getting-started/simple_file.rb
hello
world
Go!