templates icon indicating copy to clipboard operation
templates copied to clipboard

Added ruby template

Open ngiger opened this issue 2 years ago • 6 comments

Tried to follow the conventions. E.g. one of the few to have a README.md, maintainers and description.

ngiger avatar Apr 07 '22 15:04 ngiger

Tested with nix 2.7.0

ngiger avatar Apr 07 '22 15:04 ngiger

I don't know why nix flake init -t github:ngiger/templates#python is working in an empty directory of mine, but not nix flake init -t github:ngiger/templates#ruby which answers with

error: cannot find flake attribute 'github:ngiger/templates#ruby

But one day after it worked without a problem. (Using nix 2.7.0)

ngiger avatar Apr 07 '22 15:04 ngiger

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?

emptyflask avatar May 02 '22 21:05 emptyflask

Otherwise, I think this should be merged in to encourage ruby development on nix!

emptyflask avatar May 02 '22 21:05 emptyflask

Just to set the expectations here. I'm planning to write up the initial rules how which templates should be added in this repository (and what they should include) and which templates should be moved to nix-community/templates. I plan to get to this task later this week or beginning of next week.

In will then also review this PR.

garbas avatar May 03 '22 09:05 garbas

@garbas Ping on this ^

supermarin avatar Jul 15 '22 17:07 supermarin