Skip to content

Commit 331ed8c

Browse files
committed
WIP
1 parent dfaaa91 commit 331ed8c

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

.devcontainer/run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ sudo chown -R sentry:sentry log
1010
sudo chown -R sentry:sentry vendor/gems
1111

1212
git config --global --add safe.directory /workspace/sentry/vendor/gems
13+
git config --global --add safe.directory /workspace/sentry
1314

1415
run_service_setup() {
1516
local service="$1"

.devcontainer/setup

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ class SetupScript
121121
if Dir.exist?(folder_path) && File.exist?(gemfile_path)
122122
Dir.chdir(folder_path) do
123123
puts " Installing dependencies for #{Pathname(folder).realpath}..."
124-
system('bundle install')
124+
unless system('bundle install')
125+
puts "❌ Bundle install failed for #{folder}"
126+
exit 1
127+
end
125128
end
126129

127130
Dir.chdir(@workspace_root)
@@ -132,15 +135,21 @@ class SetupScript
132135
end
133136

134137
def install_foreman_gem
135-
system('gem install foreman')
138+
unless system('gem install foreman')
139+
puts "❌ Foreman gem installation failed"
140+
exit 1
141+
end
136142
end
137143

138144
def install_npm_dependencies
139145
svelte_mini_path = File.join(@workspace_root, 'spec/apps/svelte-mini')
140146

141147
if Dir.exist?(svelte_mini_path)
142148
Dir.chdir(svelte_mini_path) do
143-
system('npm install')
149+
unless system('npm install')
150+
puts "❌ npm install failed for svelte-mini"
151+
exit 1
152+
end
144153
end
145154
else
146155
puts "❌ Svelte mini app directory not found: #{svelte_mini_path}"

0 commit comments

Comments
 (0)