Use the following to generate gemset.nix:
nix run nixpkgs.bundix --command bundixThen run:
nix-shellThe shell will start a mysqld instance that listens on a local Unix socket. It will be killed when the shell is killed.
Next you can run:
rspec
or
rails server