this_dir = File.expand_path('../', __FILE__) require 'rails' require 'haml-rails' require 'redcloth' require 'simple_form' require 'redgreen' require 'colored' Dir.glob("#{this_dir}/required/*.rb").each do |x| require x; #puts x #this will show up in console etc. end