Re:My time with Rails is up (2016)
by atomicnumber3 on Tuesday September 12, 2023 @10:00AM
(#37481420)
Interesting. My own biggest gripe with rails is, by far and large, that any project that even so much as lightly touched the js ecosystem will become unbuildable within about 2 months if you don't tweak things. And for Rails, a huge driver of this is the sass compiler, which (afaict) will download a hosted binary component for recent enough versions but will fall back to building it if it's too old. And "too old" appears to be measured in months. But it's far from the only thing that breaks it.
[ Parent
| on HN ]
Re:My time with Rails is up (2016)
by kayodelycaon on Tuesday September 12, 2023 @10:20AM
(#37481723)
Rails 6 was a nightmare with javascript. Continuing down the path of handling javascript and css dependencies with ruby gems was a mistake.
Rails 7 finally came up with better solutions out of the box. My latest application uses esbuild and the javascript version of sass. All javascript and css libraries are handled by node packages. Way less pain.
Re:My time with Rails is up (2016)
by glennericksen on Tuesday September 12, 2023 @10:21AM
(#37481757)
Rapid ecosystem churn is my gripe with Javascript. I've generally found Rails and popular Ruby gems to be very durable over time.
Re:My time with Rails is up (2016)
by andrei_says_ on Tuesday September 12, 2023 @10:06AM
(#37481502)
What expires within 2 months?
Re:My time with Rails is up (2016)
by jbverschoor on Tuesday September 12, 2023 @10:42AM
(#37482059)
JavaScript
Re:My time with Rails is up (2016)
by andrei_says_ on Tuesday September 12, 2023 @11:34PM
(#37491882)
Oh, that :(
The gift that keeps on giving.
Re:My time with Rails is up (2016)
by kbrannigan on Tuesday September 12, 2023 @10:54AM
(#37482224)
Not just with rails, laravel had this problem with js/ mix.
The PHP part would run just fine but the Js tools broke the app. npm install never just works.
In my experience Compiled js apps decay really fast.
The more complex newer the build tool, the fast it decays.
Re:My time with Rails is up (2016)
by closeparen on Tuesday September 12, 2023 @11:03AM
(#37482376)
Ruby and Javascript are interpreted languages! Why does there even need to be a build step?
My issue with Rails has always been that-- not just the JS ecosystem rot, but gems in general. Running "bundle update" after six-eight months is like rolling the dice. Especially if you use any Rails engines, etc.