4 ms·
I generally just install Ruby/rails directly on my Mac… I’m starting to switch to local rocker-compose for dev, and also for deploying simple apps to single VP
by dchuk 4y ago
I generally just install Ruby/rails directly on my Mac…
I’m starting to switch to local rocker-compose for dev, and also for deploying simple apps to single VPS instances.
Should I learn Nix? What’s a good starting place to do that?
- JamesSwift 4y ago> I generally just install Ruby/rails directly on my Mac… Not sure how long you've been doing ruby dev but that has historically been a path to a lot of pain, especially once native gems come into play.
- pxc 4y ago> What’s a good starting place to do that? In general, check out nix.dev as a starting point. For a deep dive on how it works with a focus on modern features, check out this blog series: https://tonyfinn.com/blog/nix-from-first-principles-flake-edition/ https://tonyfinn.com/blog/nix-from-first-principles-flake-ed...
- pmarreck 4y agoYou don't necessarily have to know the Nix language upfront, but it helps (otherwise your eyes will glaze over in parts you'd otherwise grok right away). Honestly, it's not a terrible starting point. Nix has been described as "JSON with a different syntax, plus pure functions" which does come sort of close- It's not actually as complex as it looks at first. There's a very cool interactive tutorial here which fit the way I like to learn pretty perfectly: https://nixcloud.io/tour/?id=1 https://nixcloud.io/tour/?id=1 It's an actual Nix interpreter running in the browser (thanks to emscripten) that validates your answers by actually evaluating them, through a series of progressively more difficult questions.