Wednesday, June 03, 2026 11:59:33 PM
> project show everythingrb
Write expressive, readable Ruby without sacrificing power. EverythingRB eliminates boilerplate with intuitive extensions to Ruby's core classes, making your code both more elegant and easier to understand.
Details
> flake.nix
{
  description = "Ruby 3.2 development environment";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs =
    {
      self,
      nixpkgs,
      flake-utils,
    }:
    flake-utils.lib.eachDefaultSystem (
      system:
      let
        pkgs = nixpkgs.legacyPackages.${system};
      in
      {
        devShells.default = pkgs.mkShell {
          buildInputs = with pkgs; [
            (ruby_3_2.override {
              jemallocSupport = false;
              docSupport = false;
            })

            # Dependencies for native gems
            pkg-config
            openssl
            readline
            zstd
            libyaml
          ];

          shellHook = ''
            export GEM_HOME="$PWD/vendor/bundle"
            export GEM_PATH="$GEM_HOME"
            export PATH="$GEM_HOME/bin:$PATH"

            echo "checking gems"
            bundle check || bundle install
          '';
        };
      }
    );
}
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 4294fb2