programthecloud/ptcrepo

lib/delivery/reliable.rb issue

Closed this issue · 1 comments

Should
require 'delivery'
be changed to
require_relative 'delivery'
?

This should be fixed now. I changed it to require 'delivery/delivery' because I don't think that all Ruby versions support require_relative.

When running your code, invoke ruby as ruby -I/path/to/ptcrepo/lib/ to make sure that the lib folder is added to Ruby's include path. Then, you should be able to import the reliable module using require 'delivery/reliable'.