blocks = data_bag_item("tile", "blocks")
apache_module "alias"
+apache_module "cgi"
apache_module "expires"
apache_module "headers"
apache_module "remoteip"
package "osmosis"
package "ruby"
-package "rubygems"
+package "ruby-dev"
+
+if node[:lsb][:release].to_f < 14.04
+ package "rubygems"
+end
package "libproj-dev"
package "libxml2-dev"
gem_package "proj4rb"
gem_package "libxml-ruby"
-gem_package "mmap"
+gem_package "simple-mmap"
remote_directory "/usr/local/lib/site_ruby" do
source "ruby"