Jon Roberts
Jon Roberts
This is good to have, but why pull in `r10k` (and all its dependencies) by default? If the intent is to have an example gem, maybe something like `minitest`?
Otherwise, I think this should be merged in to encourage ruby development on nix!
I'm glad it's helpful! I don't remember where exactly I learned how to modify the configuration for gems like this, but for sassc specifically, they have [build instructions that mention...
I have to work with some Ubuntu 20.04 servers that are stuck on node 20.5.1 for some reason. Corepack seems to be compatible with it, so it seems odd to...
Interestingly, `/nix/store/qmgngwsg7xi6rdkgv6p925nwkxs88ys2-ruby3.3-sass-embedded-1.78.0/lib/ruby/gems/3.3.0/gems/sass-embedded-1.78.0/ext/sass/cli.rb` contains this: ```ruby # frozen_string_literal: true module Sass module CLI COMMAND = [ File.absolute_path('/nix/store/k4l60jsfc8qb2rr0pkfmavdshlxjlqsj-dart-sass-1.80.5/bin/sass', __dir__).freeze ].freeze end private_constant :CLI end ```
Some nix behavior is fixed here https://github.com/sass-contrib/sass-embedded-host-ruby/issues/116#issuecomment-2417547868 but using sass-embedded v1.79.6, the sass version is unaffected: ```ruby # frozen_string_literal: true require_relative '../../lib/sass/elf' module Sass module CLI INTERPRETER = '/nix/store/maxa3xhmxggrc5v2vc0c3pjb79hjlkp9-glibc-2.40-66/lib/ld-linux-x86-64.so.2' INTERPRETER_SUFFIX...
I changed the nixpkgs version in the flake inputs to 24.05, and the sass version changed to 1.77.2, so it's definitely coming from there. Even though I'm not exactly sure...
The latest three releases aren't on rubygems (newest is 1.133.0). Perhaps there's a bug in the release pipeline?
1.137.0 is there now, so maybe this is no longer relevant. Assuming no one wants to use an older version...
I don't believe it's exposed anywhere in Rails, for now I just do this in my test_helper. ```ruby ActiveRecord::Base.connection.execute("SET jit = off") ``` It would be convenient to have a...