]> git.openstreetmap.org Git - chef.git/commitdiff
Set NOKOGIRI_USE_SYSTEM_LIBRARIES while instailling the rails bundle
authorTom Hughes <tom@compton.nu>
Fri, 20 Dec 2013 09:06:10 +0000 (09:06 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 20 Dec 2013 09:06:10 +0000 (09:06 +0000)
cookbooks/web/definitions/rails_port.rb

index dbc5c32107a6dbcf4b3be501b2e960cd18c5a508..1d9179aa9ea5819a8cf052d648389f67703b9396 100644 (file)
@@ -102,6 +102,7 @@ define :rails_port, :action => [ :create, :enable ] do
     cwd rails_directory
     user "root"
     group "root"
+    environment "NOKOGIRI_USE_SYSTEM_LIBRARIES" => "yes"
     if run_migrations
       notifies :run, "execute[#{rails_directory}/db/migrate]"
     else