<commit_before>= Ruby Mapnik

https://github.com/mapnik/Ruby-Mapnik

== Requirements

* Rake
* Mapnik 2.x (Currently available at https://github.com/mapnik/mapnik)
* Rice >= 1.4.2
* rcairo (https://github.com/rcairo/rcairo) (Optional)

== Description

A set of bindings between Ruby and Mapnik. Supports many of the common uses for 
Mapnik, and one day, might support all of them. Rendering is available using
the standard AGG library, or additionally via Cairo, if the rcairo gem is 
installed and Mapnik has been compiled with Cairo support.

== Installation

If you have checked out this local repository code build like:

    rake

The above command will compile the bindings and run the tests.

File issues at https://github.com/mapnik/Ruby-Mapnik if you hit any compile errors.

If you wish to install Ruby-Mapnik from the latest tagged release you can do:

  gem install ruby_mapnik

Note: on osx the default rake compile will try to build universal, and your
mapnik install is unlikely built universal. Check the architecture of libmapnik.dylib like:
<commit_msg>add hints about how to install deps on os x<commit_after>= Ruby Mapnik

https://github.com/mapnik/Ruby-Mapnik

== Requirements

* Rake (and extentiontask)
* Mapnik 2.x (Currently available at https://github.com/mapnik/mapnik)
* Rice >= 1.4.2
* rcairo (https://github.com/rcairo/rcairo) (Optional)

On OS X install ruby deps like:

    sudo gem install rake-compiler
    export ARCHFLAGS="-arch x86_64"
    sudo bash -c 'ARCHFLAGS="-arch x86_64" gem install rice cairo'

== Description

A set of bindings between Ruby and Mapnik. Supports many of the common uses for 
Mapnik, and one day, might support all of them. Rendering is available using
the standard AGG library, or additionally via Cairo, if the rcairo gem is 
installed and Mapnik has been compiled with Cairo support.

== Installation

If you have checked out this local repository code build like:

    rake

The above command will compile the bindings and run the tests.

File issues at https://github.com/mapnik/Ruby-Mapnik if you hit any compile errors.

If you wish to install Ruby-Mapnik from the latest tagged release you can do:

  gem install ruby_mapnik

Note: on osx the default rake compile will try to build universal, and your
mapnik install is unlikely built universal. Check the architecture of libmapnik.dylib like:

{'fraction_non_alphanumeric': 0.06387478849407784, 'fraction_numerical': 0.00676818950930626, 'mean_word_length': 4.06423982869379, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5057194', 'n_tokens_mistral': 710, 'n_tokens_neox': 661, 'n_words': 324}