require 'pathname' lib = Pathname.new(__FILE__).dirname.join('..','lib/arxiv').expand_path.to_s $:.unshift lib require 'references' ArxivReferences::CLI.start