If RVM is installed, please select yes when rvm script run to create gem set especially for this project.
All the functions and tests pass under ruby 1.8.7-p334 and 1.9.3-p194.
Please unzip the file and run
ruby directory_summary.rb [-r] directory_path
to check the function.
To run test, please type
bundle exec rspec spec/directory_summary_spec.rb