Skip to content

Commit 36a2ee0

Browse files
authored
fix: Use correct Ruby for Nginx (#5607)
**Story card:** [sc-15637](https://app.shortcut.com/simpledotorg/story/15637) ## Because Nginx pointing to a now non-existent Ruby — because of the Ruby upgrades going on — causes SBX to 503 ## This addresses Using the right Ruby version in Nginx ## Test instructions a healthy SBX
1 parent f43a29c commit 36a2ee0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.docker/config/nginx/webapp.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ server {
88
gzip_types text/html text/plain application/json;
99

1010
passenger_user app;
11-
passenger_ruby /usr/bin/ruby2.7;
11+
passenger_ruby /usr/local/bin/ruby;
1212
passenger_app_root /home/app;
1313
passenger_enabled on;
1414
passenger_app_env production;

.semaphore/semaphore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ blocks:
2727
- cache store
2828
- name: Tests
2929
skip:
30-
when: change_in(['/doc', '/swagger', '**/*.md', '/public', '/script'])
30+
when: change_in([ '**/*.md', '/.*', '/doc', '/public', '/script', '/swagger' ])
3131
task:
3232
env_vars:
3333
- name: RAILS_ENV

0 commit comments

Comments
 (0)