From: Tom Hughes Date: Fri, 20 Dec 2013 09:06:10 +0000 (+0000) Subject: Set NOKOGIRI_USE_SYSTEM_LIBRARIES while instailling the rails bundle X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/e8ef3727c5fdf30cf4fa76d43ed79c7ae56303df?ds=inline Set NOKOGIRI_USE_SYSTEM_LIBRARIES while instailling the rails bundle --- diff --git a/cookbooks/web/definitions/rails_port.rb b/cookbooks/web/definitions/rails_port.rb index dbc5c3210..1d9179aa9 100644 --- a/cookbooks/web/definitions/rails_port.rb +++ b/cookbooks/web/definitions/rails_port.rb @@ -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