Wednesday, June 03, 2026 11:58:09 PM
> project show spec_forge
Write API tests in YAML that double as living documentation. SpecForge gives you powerful testing with RSpec, FactoryBot, and Faker while keeping your API specs clear and maintainable.
Details
> flake.nix
{
  description = "Ruby 3.4 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_4

            # 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