X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/c95478046eb46f37cd94e7459d4e8adf1d70b7c7..b49e209b3e957e9c02139c06f0dfecac05415119:/cookbooks/web/resources/rails_port.rb diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 564cbd0ad..16fde7131 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -407,7 +407,7 @@ action :create do execute "#{rails_directory}/package.json" do action :nothing - command "yarnpkg install --ignore-engines" + command "bundle#{new_resource.ruby} exec rake yarn:install" environment "HOME" => rails_directory, "RAILS_ENV" => "production" cwd rails_directory