From ac94487d7cc357a7953ec73d45e9d85b240b8661 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Mon, 12 Oct 2015 18:08:24 +0200 Subject: [PATCH] lol heroku (ulimit is not an executable on heroku) --- lib/travis/api/app/endpoint/home.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/travis/api/app/endpoint/home.rb b/lib/travis/api/app/endpoint/home.rb index dd33bbe8..ecdfbf82 100644 --- a/lib/travis/api/app/endpoint/home.rb +++ b/lib/travis/api/app/endpoint/home.rb @@ -53,7 +53,7 @@ class Travis::Api::App deploy_sha = File.read(".deploy-sha") if File.exist?(".deploy-sha") sys_info = { web_concurrency: ENV['WEB_CONCURRENCY'], - ulimit: `ulimit -u`.to_i, + ulimit: `echo "ulimit -u" | bash`.to_i, dyno: ENV['DYNO'], deploy_sha: deploy_sha }