Utility for comfortable operation with file paths
sudo gem install lonelyelk-file_path
require "rubygems" require "file_path" spec_dir = "spec" spec_files = (FilePath.new / spec_dir / "*_spec.rb").list #=> an array (FilePath.new("/some") / "dir" / "some" / "file").exist?