$: << File.expand_path(File.dirname(__FILE__)) require 'onering/util' require 'onering/api' require 'onering/cli' # require plugins Dir[File.join(File.expand_path(File.dirname(__FILE__)),"onering","plugins","*.rb")].each do |i| require i end # require cli submodules Dir[File.join(File.expand_path(File.dirname(__FILE__)),"onering","cli","*.rb")].each do |i| require i end