We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86035b2 commit 4fdd415Copy full SHA for 4fdd415
bin/setup
@@ -13,9 +13,11 @@ FileUtils.chdir APP_ROOT do
13
# Add necessary setup steps to this file.
14
15
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
+ if ENV["CODESPACE_NAME"]
+ # Explicitly set bundle path for consistency with Docker image
+ ENV["BUNDLE_PATH"] ||= "/home/student/.bundle"
19
+ system("bundle config get path") # Debug output to see the bundle path
20
+ end
21
system("bundle check") || system!("bundle install")
22
23
# puts "\n== Copying sample files =="
0 commit comments