Ruby RAliasFile C extension
This extension allows Ruby programs, running over MacOS X 10.4+, to use Alias Manager for resolving aliases files. Currently, that includes alias file resolution.
Installation
Download and install the latest package from the rubyforge.org RubyGems repository.
gem install raliasfile --remote
gem check raliasfile --test
If the tests all pass, you’re ready to start using RAliasFile.
Or, if you don’t have rubygems installed, you can install by hand by downloading the tarball:
tar xzvf raliasfile-<latest>.tar.gz
cd raliasfile-<latest>/ext
ruby extconf.rb
make
sudo make install
You can then run the tests with:
ruby test/test_raliasfile.rb
Usage
A small example is given in sample/sample.rb.
Usefull Readings
"ADC Home > Reference Library > Guides > Cocoa > File Management > Low-Level File Management Programming Topics >" : "Resolving Aliases" http://developer.apple.com/documentation/Cocoa/Conceptual/LowLevelFileMgmt/Tasks/ResolvingAliases.html
"Technical Note FL30" : "Resolving Alias Files Quietly" http://developer.apple.com/technotes/fl/fl_30.html
Contact Information
This project’s homepage is:
http://rubyforge.org/projects/raliasfile/
Thereupon are additional resources, such as news and forums can be found for working out any issues you may have with this Ruby extension. In the last case, you can email questions or patches to [email protected].