X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c95478046eb46f37cd94e7459d4e8adf1d70b7c7..aa631a37ed7af957d7b0c6c80b0257c183428132:/cookbooks/web/resources/rails_port.rb?ds=sidebyside 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