# Rant 0.5.2

**URL:** <https://www.ruby-forum.com/t/rant-0-5-2/98954>\
**Category:** Ruby\
**Created:** [December 12, 2005, 8:16pm UTC](https://www.ruby-forum.com/t/rant-0-5-2/98954 "2005-12-12T20:16:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefanl38](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a698b9/32.png) [@stefanl38](https://www.ruby-forum.com/u/stefanl38)\
**Post date:** [December 12, 2005, 8:16pm UTC](https://www.ruby-forum.com/t/rant-0-5-2/98954/1 "2005-12-12T20:16:26Z")

</div>

Rant is a flexible build tool written entirely in Ruby,  
similar to Rake.

== What’s new in this release?

- Gems created with Ruby 1.8.3 won’t work with other  
Ruby versions (because of a YAML bug). This no longer  
affects gems created with Rant’s RubyPackage task.  
Documentation:  
[http://make.rubyforge.org/files/doc/rubyproject\_rdoc.html](http://make.rubyforge.org/files/doc/rubyproject_rdoc.html)

- Rework of Rant’s FileList class. You can use it as “normal”  
Ruby library now. Below is an example.  
Documentation:  
[http://make.rubyforge.org/files/doc/filelist\_rdoc.html](http://make.rubyforge.org/files/doc/filelist_rdoc.html)

For more details read [http://make.rubyforge.org/files/NEWS.html](http://make.rubyforge.org/files/NEWS.html)

== Installing Rant

You can install Rant as a RubyGem:

```
% gem install --remote rant

```

or download the package from  
RubyForge([http://rubyforge.org/frs/?group\_id=615](http://rubyforge.org/frs/?group_id=615))  
and install with install.rb:

```
% ruby install.rb

```

== Rant::FileList example

You can use Rant’s FileList class as library in your Ruby app/library.  
Example usage:

```
# The next two statements are required if Rant was
# installed as a RubyGem.
#require "rubygems"
#require_gem "rant"

require "rant/filelist"

# Iterate over all files in the current directory and its
# subdirectories, skipping backup files (filenames ending
# in ~ or .bak).

Rant::FileList.glob_all "**/*" do |fl|
    fl.exclude "*~", "*.bak"
    fl.files.each { |filename|
        # do something with the file "filename"
    }
end

```

== Resources

Homepage:: [http://make.ruby-co.de](http://make.ruby-co.de)  
Rubyforge page:: [http://rubyforge.org/projects/make/](http://rubyforge.org/projects/make/)  
Mailing list:: [http://rubyforge.org/mailman/listinfo/make-cafe](http://rubyforge.org/mailman/listinfo/make-cafe)  
Repository:: [http://developer.berlios.de/svn/?group\_id=5046](http://developer.berlios.de/svn/?group_id=5046)  
Rake/Rant comparison::  
[http://make.rubyforge.org/files/doc/rant\_vs\_rake\_rdoc.html](http://make.rubyforge.org/files/doc/rant_vs_rake_rdoc.html)

Naming suggestions, feature requests for further Rant development,  
etc. are welcome!
