Hacker News new | ask | show | jobs
by quesera 401 days ago
Does that mean you develop code without running it locally?

The first execution of new code is in CI?

2 comments

They didn't say where it was deployed. I'd often only test some changes in staging rather than locally, because they rely on some specific other service I don't want to spend time setting up. It's very common.
Locally you’d have all the dependencies installed. In production you’d leave out development and test dependencies.
Typically with rails applications, test dependencies are not used for local development (i.e. running the rails server on your local machine), they are separate groups in the Gemfile.
Spring and bootsnap muddy the waters. You do not have hermetic dev and test environments in Rails.