Skip to content

Commit 4fdd415

Browse files
author
github-actions
committed
update with project-syncing action
1 parent 86035b2 commit 4fdd415

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

bin/setup

+5-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ FileUtils.chdir APP_ROOT do
1313
# Add necessary setup steps to this file.
1414

1515
puts "== Installing dependencies =="
16-
# Explicitly set bundle path for consistency with Docker image
17-
ENV["BUNDLE_PATH"] ||= "/home/student/.bundle"
18-
system("bundle config get path") # Debug output to see the bundle path
16+
if ENV["CODESPACE_NAME"]
17+
# Explicitly set bundle path for consistency with Docker image
18+
ENV["BUNDLE_PATH"] ||= "/home/student/.bundle"
19+
system("bundle config get path") # Debug output to see the bundle path
20+
end
1921
system("bundle check") || system!("bundle install")
2022

2123
# puts "\n== Copying sample files =="

0 commit comments

Comments
 (0)