Skip to content

Commit

Permalink
Dont' generate initial Rails command with unbundled_env - we are alre…
Browse files Browse the repository at this point in the history
…ady isolated enough
  • Loading branch information
trinitytakei committed Feb 18, 2025
1 parent b69dcd4 commit 8bb2767
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/services/command_execution_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,14 @@ def run_isolated_process

@logger.debug("Executing command", { command: command })

# Only use unbundled env for rails new, as other commands need access to the bundled gems
if @command.start_with?("rails new")
Bundler.with_unbundled_env do
execute_command(env, command, buffer, error_buffer)
end
else
# Only use unbundled env for rails new, as other commands need access to the bundled gems
# if @command.start_with?("rails new")
# Bundler.with_unbundled_env do
# execute_command(env, command, buffer, error_buffer)
# end
# else
execute_command(env, command, buffer, error_buffer)
end
# end

@work_dir
end
Expand Down

0 comments on commit 8bb2767

Please sign in to comment.