Skip to content

Conversation

@cram-cfa
Copy link

@cram-cfa cram-cfa commented Jan 26, 2026

I had to install a few things, set a few things in my path, change versions of a few things, etc to get the project working the first time. This is my best guess on what a clean install/setup script could look like to confirm things are installed with valid versions; Running it subsequently doesn't throw any errors for me, so at worst the next engineer has to work with me to iterate more on this!

Screenshot 2026-01-26 at 2 20 19 PM Screenshot 2026-01-26 at 2 20 29 PM

Comment on lines +8 to +9
def system!(cmd)
puts "==> Running: #{cmd}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm does the lack of splat here make a difference?

puts "\n== rbenv not found. Installing via Homebrew =="
system!("brew install rbenv")
else
puts "rbenv already installed"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason this puts already installed but the docker and homebrew steps don't?

Comment on lines +44 to +45
ENV.key?("RBENV_ROOT") ||
ENV["PATH"].split(":").any? { |p| p.include?(".rbenv/shims") }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'll be honest i don't understand this

# Auto-activate mise for this process
unless ENV["MISE_SHELL"]
puts "Activating mise..."
activate = `mise activate zsh`.strip
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this also i am confused by

Copy link
Collaborator

@jenny-heath jenny-heath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i got a little lost trying to understand some of the additions to the setup script. maybe we can all review it together in the next day or two!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants