APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')) $: << File.join(APP_ROOT, 'lib/app42') # so rspec knows where your file could be require 'rubygems' require 'bundler/setup' require 'rspec' require 'yaml' require 'app42' command_dir = "#{APP_ROOT}/app42/lib/app42/{command}/*.rb" Dir[File.expand_path(command_dir, __FILE__)].each do |file| require file end RSpec.configure do |config| config.color_enabled = true config.formatter = 'documentation' end