From e8ef3727c5fdf30cf4fa76d43ed79c7ae56303df Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 20 Dec 2013 09:06:10 +0000 Subject: [PATCH] Set NOKOGIRI_USE_SYSTEM_LIBRARIES while instailling the rails bundle --- cookbooks/web/definitions/rails_port.rb | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5