]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/definitions/rails_port.rb
Set NOKOGIRI_USE_SYSTEM_LIBRARIES while instailling the rails bundle
[chef.git] / 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