I’m trying to Package frab (Package request: frab · Issue #257569 · NixOS/nixpkgs · GitHub) but have no experience with ruby projects.
This is my current attempt:
default.nix:
{pkgs ? import <nixpkgs> {}}:
pkgs.callPackage (
{
stdenv,
bundlerEnv,
fetchFromGitHub,
ruby,
nodejs,
imagemagick,
file,
}: let
src = fetchFromGitHub {
owner = "frab";
repo = "frab";
rev = "e4bbcfd1a9db7f89f53a8702c236d9628bafb72c";
sha256 = "04pzmif8jxjww3fdf2zbg3k7cm49vxc9hhf4xhmvdmvywgin6fqp";
};
gems = bundlerEnv {
name = "frab-gems";
gemdir = ./.;
groups = ["production"];
};
in
stdenv.mkDerivation {
name = "frab";
inherit src;
buildInputs = [gems nodejs imagemagick file gems.wrappedRuby];
buildPhase = ''
cp config/database.yml.template config/database.yml
cp env.example .env.production
rake assets:precompile
# bundler exec rake assets:precompile
'';
installPhase = ''
mkdir -p $out/{bin,share/frab}
cp -r * $out/share/frab
'';
}
) {}
Gemfile:
source 'https://rubygems.org'
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
install_if -> { RbConfig::CONFIG['target_os'] =~ /(?i-mx:bsd|dragonfly)/ } do
gem 'rb-kqueue', ">= 0.2", platforms: :ruby
end
if ENV['CUSTOM_RUBY_VERSION']
ruby ENV['CUSTOM_RUBY_VERSION'] # i.e.: '2.3'
end
gem 'rails', '~> 7.0'
# Use SCSS for stylesheets
gem 'sass-rails'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails'
gem 'mysql2', group: :mysql
gem 'pg', group: :postgresql
gem 'sqlite3', group: :sqlite3
# Use Puma as the app server
gem 'puma'
# Capistrano for deployment
group :capistrano, optional: true do
gem 'capistrano', '3.16.0', require: false
gem 'capistrano-rails', require: false
gem 'capistrano-bundler', require: false
gem 'capistrano-rvm', require: false
gem 'capistrano3-puma', require: false
end
# Use jquery as the JavaScript library
gem 'jquery-rails'
gem 'jquery-migrate-rails'
gem 'jquery-ui-rails'
gem 'rangesliderjs-rails', '~> 2.3'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder'
gem 'activemodel-serializers-xml'
gem 'activeresource'
gem 'bcrypt'
gem 'bootsnap'
gem 'cocoon'
gem 'devise'
gem 'dotenv-rails'
gem 'github-markdown'
gem 'haml'
gem 'http_accept_language'
gem 'invisible_captcha'
gem 'localized_language_select', github: 'frab/localized_language_select', branch: 'master'
gem 'mobility', '~> 1.2.2'
gem 'nokogiri'
gem 'omniauth-google-oauth2'
gem 'gitlab_omniauth-ldap'
gem 'omniauth_openid_connect'
gem 'omniauth-rails_csrf_protection'
gem 'kt-paperclip'
gem 'paper_trail'
gem 'prawn', '< 1.0'
gem 'prawn_rails'
gem 'pundit'
gem 'ransack'
gem 'redcarpet'
gem 'repost', '~> 0.4.1'
gem 'ri_cal'
gem 'roust', github: 'frab/roust', branch: 'disallowed-ticket-1-fix'
gem 'rqrcode'
gem 'scanf'
gem 'simple_form'
gem 'sucker_punch'
gem 'transitions', require: ['transitions', 'active_record/transitions']
gem 'will_paginate'
gem 'yard'
group :production do
gem 'exception_notification'
end
group :productionplus, optional: true do
gem 'activerecord-session_store'
gem 'dalli'
end
group :development, :test do
gem 'listen'
gem 'bullet'
gem 'pry-rails'
gem 'pry-byebug'
gem 'letter_opener'
gem 'faker'
gem 'i18n-tasks'
gem 'easy_translate'
end
group :test do
gem 'rexml'
gem 'factory_bot_rails'
gem 'rails-controller-testing'
gem 'capybara', '>= 3.26'
gem 'selenium-webdriver'
# Easy installation and use of web drivers to run system tests with browsers
gem 'webdrivers'
end
group :doc, optional: true do
# gem 'rails-erd' # graph
# gem 'ruby-graphviz', require: 'graphviz' # Optional: only required for graphing
end
gemfile.lock:
GIT
remote: https://github.com/frab/localized_language_select.git
revision: 85df6b97789de6e29c630808b630e56a1b76f80c
branch: master
specs:
localized_language_select (0.3.0)
rails (>= 4.1.0)
GIT
remote: https://github.com/frab/roust.git
revision: 471b351053b34af69f4aede20ca2e69860bafefc
branch: disallowed-ticket-1-fix
specs:
roust (1.8.9)
activesupport (>= 4.0.10)
httparty (>= 0.13.1)
mail (~> 2.7.1)
GEM
remote: https://rubygems.org/
specs:
actioncable (7.0.4.2)
actionpack (= 7.0.4.2)
activesupport (= 7.0.4.2)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (7.0.4.2)
actionpack (= 7.0.4.2)
activejob (= 7.0.4.2)
activerecord (= 7.0.4.2)
activestorage (= 7.0.4.2)
activesupport (= 7.0.4.2)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.0.4.2)
actionpack (= 7.0.4.2)
actionview (= 7.0.4.2)
activejob (= 7.0.4.2)
activesupport (= 7.0.4.2)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.0)
actionpack (7.0.4.2)
actionview (= 7.0.4.2)
activesupport (= 7.0.4.2)
rack (~> 2.0, >= 2.2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (7.0.4.2)
actionpack (= 7.0.4.2)
activerecord (= 7.0.4.2)
activestorage (= 7.0.4.2)
activesupport (= 7.0.4.2)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.0.4.2)
activesupport (= 7.0.4.2)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (7.0.4.2)
activesupport (= 7.0.4.2)
globalid (>= 0.3.6)
activemodel (7.0.4.2)
activesupport (= 7.0.4.2)
activemodel-serializers-xml (1.0.2)
activemodel (> 5.x)
activesupport (> 5.x)
builder (~> 3.1)
activerecord (7.0.4.2)
activemodel (= 7.0.4.2)
activesupport (= 7.0.4.2)
activerecord-session_store (2.0.0)
actionpack (>= 5.2.4.1)
activerecord (>= 5.2.4.1)
multi_json (~> 1.11, >= 1.11.2)
rack (>= 2.0.8, < 3)
railties (>= 5.2.4.1)
activeresource (6.0.0)
activemodel (>= 6.0)
activemodel-serializers-xml (~> 1.0)
activesupport (>= 6.0)
activestorage (7.0.4.2)
actionpack (= 7.0.4.2)
activejob (= 7.0.4.2)
activerecord (= 7.0.4.2)
activesupport (= 7.0.4.2)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (7.0.4.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
aes_key_wrap (1.1.0)
airbrussh (1.4.1)
sshkit (>= 1.6.1, != 1.7.0)
ast (2.4.2)
attr_required (1.0.1)
bcrypt (3.1.18)
better_html (2.0.1)
actionview (>= 6.0)
activesupport (>= 6.0)
ast (~> 2.0)
erubi (~> 1.4)
parser (>= 2.4)
smart_properties
bindata (2.4.14)
bootsnap (1.16.0)
msgpack (~> 1.2)
builder (3.2.4)
bullet (7.0.7)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.11)
byebug (11.1.3)
capistrano (3.16.0)
airbrussh (>= 1.0.0)
i18n
rake (>= 10.0.0)
sshkit (>= 1.9.0)
capistrano-bundler (2.1.0)
capistrano (~> 3.1)
capistrano-rails (1.6.2)
capistrano (~> 3.1)
capistrano-bundler (>= 1.1, < 3)
capistrano-rvm (0.1.2)
capistrano (~> 3.0)
sshkit (~> 1.2)
capistrano3-puma (6.0.0.beta.1)
capistrano (~> 3.7)
capistrano-bundler
puma (>= 5.1, < 7.0)
capybara (3.38.0)
addressable
matrix
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
chunky_png (1.4.0)
climate_control (0.2.0)
cocoon (1.2.15)
coderay (1.1.3)
coffee-rails (5.0.0)
coffee-script (>= 2.2.0)
railties (>= 5.2.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.2.0)
crass (1.0.6)
dalli (3.2.3)
date (3.3.3)
devise (4.8.1)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
responders
warden (~> 1.2.3)
dotenv (2.8.1)
dotenv-rails (2.8.1)
dotenv (= 2.8.1)
railties (>= 3.2)
easy_translate (0.5.1)
thread
thread_safe
erubi (1.12.0)
exception_notification (4.5.0)
actionmailer (>= 5.2, < 8)
activesupport (>= 5.2, < 8)
execjs (2.8.1)
factory_bot (6.2.1)
activesupport (>= 5.0.0)
factory_bot_rails (6.2.0)
factory_bot (~> 6.2.0)
railties (>= 5.0.0)
faker (3.1.0)
i18n (>= 1.8.11, < 2)
faraday (2.7.4)
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
faraday-net_http (3.0.2)
ffi (1.15.5)
github-markdown (0.6.9)
gitlab_omniauth-ldap (2.2.0)
net-ldap (~> 0.16)
omniauth (>= 1.3, < 3)
pyu-ruby-sasl (>= 0.0.3.3, < 0.1)
rubyntlm (~> 0.5)
globalid (1.1.0)
activesupport (>= 5.0)
haml (6.1.1)
temple (>= 0.8.2)
thor
tilt
hashie (5.0.0)
highline (2.1.0)
http_accept_language (2.1.1)
httparty (0.21.0)
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
httpclient (2.8.3)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
i18n-tasks (1.0.12)
activesupport (>= 4.0.2)
ast (>= 2.1.0)
better_html (>= 1.0, < 3.0)
erubi
highline (>= 2.0.0)
i18n
parser (>= 2.2.3.0)
rails-i18n
rainbow (>= 2.2.2, < 4.0)
terminal-table (>= 1.5.1)
invisible_captcha (2.0.0)
rails (>= 5.0)
jbuilder (2.11.5)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
jquery-migrate-rails (1.2.1)
jquery-rails (4.5.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (6.0.1)
railties (>= 3.2.16)
json-jwt (1.16.3)
activesupport (>= 4.2)
aes_key_wrap
bindata
faraday (~> 2.0)
faraday-follow_redirects
jwt (2.6.0)
kt-paperclip (7.1.1)
activemodel (>= 4.2.0)
activesupport (>= 4.2.0)
marcel (~> 1.0.1)
mime-types
terrapin (~> 0.6.0)
launchy (2.5.2)
addressable (~> 2.8)
letter_opener (1.8.1)
launchy (>= 2.2, < 3)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.19.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (1.0.2)
matrix (0.4.2)
method_source (1.0.0)
mime-types (3.4.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2022.0105)
mini_mime (1.1.2)
mini_portile2 (2.8.1)
minitest (5.17.0)
mobility (1.2.9)
i18n (>= 0.6.10, < 2)
request_store (~> 1.0)
msgpack (1.6.0)
multi_json (1.15.0)
multi_xml (0.6.0)
mysql2 (0.5.5)
net-imap (0.3.4)
date
net-protocol
net-ldap (0.17.1)
net-pop (0.1.2)
net-protocol
net-protocol (0.2.1)
timeout
net-scp (4.0.0)
net-ssh (>= 2.6.5, < 8.0.0)
net-smtp (0.3.3)
net-protocol
net-ssh (7.0.1)
nio4r (2.5.8)
nokogiri (1.14.1)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
oauth2 (2.0.9)
faraday (>= 0.17.3, < 3.0)
jwt (>= 1.0, < 3.0)
multi_xml (~> 0.5)
rack (>= 1.2, < 4)
snaky_hash (~> 2.0)
version_gem (~> 1.1)
omniauth (2.1.1)
hashie (>= 3.4.6)
rack (>= 2.2.3)
rack-protection
omniauth-google-oauth2 (1.1.1)
jwt (>= 2.0)
oauth2 (~> 2.0.6)
omniauth (~> 2.0)
omniauth-oauth2 (~> 1.8.0)
omniauth-oauth2 (1.8.0)
oauth2 (>= 1.4, < 3)
omniauth (~> 2.0)
omniauth-rails_csrf_protection (1.0.1)
actionpack (>= 4.2)
omniauth (~> 2.0)
omniauth_openid_connect (0.6.0)
omniauth (>= 1.9, < 3)
openid_connect (~> 1.1)
openid_connect (1.4.2)
activemodel
attr_required (>= 1.0.0)
json-jwt (>= 1.15.0)
net-smtp
rack-oauth2 (~> 1.21)
swd (~> 1.3)
tzinfo
validate_email
validate_url
webfinger (~> 1.2)
orm_adapter (0.5.0)
paper_trail (14.0.0)
activerecord (>= 6.0)
request_store (~> 1.4)
parser (3.2.0.0)
ast (~> 2.4.1)
pdf-core (0.1.6)
pg (1.4.5)
prawn (0.15.0)
pdf-core (~> 0.1.3)
ttfunk (~> 1.1.0)
prawn_rails (0.0.12)
prawn (>= 0.11.1)
railties (>= 3.0.0)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
pry-rails (0.3.9)
pry (>= 0.10.4)
public_suffix (5.0.1)
puma (6.0.2)
nio4r (~> 2.0)
pundit (2.3.0)
activesupport (>= 3.0.0)
pyu-ruby-sasl (0.0.3.3)
racc (1.6.2)
rack (2.2.6.2)
rack-oauth2 (1.21.3)
activesupport
attr_required
httpclient
json-jwt (>= 1.11.0)
rack (>= 2.1.0)
rack-protection (3.0.5)
rack
rack-test (2.0.2)
rack (>= 1.3)
rails (7.0.4.2)
actioncable (= 7.0.4.2)
actionmailbox (= 7.0.4.2)
actionmailer (= 7.0.4.2)
actionpack (= 7.0.4.2)
actiontext (= 7.0.4.2)
actionview (= 7.0.4.2)
activejob (= 7.0.4.2)
activemodel (= 7.0.4.2)
activerecord (= 7.0.4.2)
activestorage (= 7.0.4.2)
activesupport (= 7.0.4.2)
bundler (>= 1.15.0)
railties (= 7.0.4.2)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
activesupport (>= 5.0.1.rc1)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.5.0)
loofah (~> 2.19, >= 2.19.1)
rails-i18n (7.0.6)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 8)
railties (7.0.4.2)
actionpack (= 7.0.4.2)
activesupport (= 7.0.4.2)
method_source
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
rainbow (3.1.1)
rake (13.0.6)
rangesliderjs-rails (2.3.1)
ransack (3.2.1)
activerecord (>= 6.1.5)
activesupport (>= 6.1.5)
i18n
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rb-kqueue (0.2.8)
ffi (>= 0.5.0)
redcarpet (3.6.0)
regexp_parser (2.6.2)
repost (0.4.1)
request_store (1.5.1)
rack (>= 1.4)
responders (3.0.1)
actionpack (>= 5.0)
railties (>= 5.0)
rexml (3.2.5)
ri_cal (0.8.8)
rqrcode (2.1.2)
chunky_png (~> 1.0)
rqrcode_core (~> 1.0)
rqrcode_core (1.2.0)
ruby2_keywords (0.0.5)
rubyntlm (0.6.3)
rubyzip (2.3.2)
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
sassc (2.4.0)
ffi (~> 1.9)
sassc-rails (2.1.2)
railties (>= 4.0.0)
sassc (>= 2.0)
sprockets (> 3.0)
sprockets-rails
tilt
scanf (1.0.0)
selenium-webdriver (4.8.0)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
simple_form (5.2.0)
actionpack (>= 5.2)
activemodel (>= 5.2)
smart_properties (1.17.0)
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
sprockets (4.2.0)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
sqlite3 (1.6.0)
mini_portile2 (~> 2.8.0)
sshkit (1.21.3)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
sucker_punch (3.1.0)
concurrent-ruby (~> 1.0)
swd (1.3.0)
activesupport (>= 3)
attr_required (>= 0.0.5)
httpclient (>= 2.4)
temple (0.10.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
terrapin (0.6.0)
climate_control (>= 0.0.3, < 1.0)
thor (1.2.1)
thread (0.2.2)
thread_safe (0.3.6)
tilt (2.0.11)
timeout (0.3.1)
transitions (1.3.0)
ttfunk (1.1.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.4.2)
uniform_notifier (1.16.0)
validate_email (0.1.6)
activemodel (>= 3.0)
mail (>= 2.2.5)
validate_url (1.0.15)
activemodel (>= 3.0.0)
public_suffix
version_gem (1.1.1)
warden (1.2.9)
rack (>= 2.0.9)
webdrivers (5.2.0)
nokogiri (~> 1.6)
rubyzip (>= 1.3.0)
selenium-webdriver (~> 4.0)
webfinger (1.2.0)
activesupport
httpclient (>= 2.4)
webrick (1.7.0)
websocket (1.2.9)
websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
will_paginate (3.3.1)
xpath (3.2.0)
nokogiri (~> 1.8)
yard (0.9.28)
webrick (~> 1.7.0)
zeitwerk (2.6.6)
PLATFORMS
ruby
DEPENDENCIES
activemodel-serializers-xml
activerecord-session_store
activeresource
bcrypt
bootsnap
bullet
capistrano (= 3.16.0)
capistrano-bundler
capistrano-rails
capistrano-rvm
capistrano3-puma
capybara (>= 3.26)
cocoon
coffee-rails
dalli
devise
dotenv-rails
easy_translate
exception_notification
factory_bot_rails
faker
github-markdown
gitlab_omniauth-ldap
haml
http_accept_language
i18n-tasks
invisible_captcha
jbuilder
jquery-migrate-rails
jquery-rails
jquery-ui-rails
kt-paperclip
letter_opener
listen
localized_language_select!
mobility (~> 1.2.2)
mysql2
nokogiri
omniauth-google-oauth2
omniauth-rails_csrf_protection
omniauth_openid_connect
paper_trail
pg
prawn (< 1.0)
prawn_rails
pry-byebug
pry-rails
puma
pundit
rails (~> 7.0)
rails-controller-testing
rangesliderjs-rails (~> 2.3)
ransack
rb-kqueue (>= 0.2)
redcarpet
repost (~> 0.4.1)
rexml
ri_cal
roust!
rqrcode
sass-rails
scanf
selenium-webdriver
simple_form
sqlite3
sucker_punch
transitions
uglifier
webdrivers
will_paginate
yard
BUNDLED WITH
2.4.6
ran $ nix-shell -p bundix --run bundix && nix-build
and got
this derivation will be built:
/nix/store/cz10ya01hdihh34jc4bkia5wyrkr8bw3-frab.drv
building '/nix/store/cz10ya01hdihh34jc4bkia5wyrkr8bw3-frab.drv'...
unpacking sources
unpacking source archive /nix/store/pvzxn886k7kq7s1gl203qrp2miiapv7d-source
source root is source
patching sources
configuring
no configure script, doing nothing
building
/nix/store/b9ciz4w06pyimkznnsb4d675nsh64zaa-bundler-2.4.13/lib/ruby/gems/3.1.0/gems/bundler-2.4.13/lib/bundler/rubygems_integration.rb:308:in `block in replace_bin_path': can't find executable rake for gem rake. rake is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
from /nix/store/b9ciz4w06pyimkznnsb4d675nsh64zaa-bundler-2.4.13/lib/ruby/gems/3.1.0/gems/bundler-2.4.13/lib/bundler/rubygems_integration.rb:347:in `block in replace_bin_path'
from /nix/store/gw96jli5cy00m8md57f47qnm96xj0bki-frab-gems/bin/rake:35:in `<main>'
error: builder for '/nix/store/cz10ya01hdihh34jc4bkia5wyrkr8bw3-frab.drv' failed with exit code 1;
last 10 log lines:
> unpacking sources
> unpacking source archive /nix/store/pvzxn886k7kq7s1gl203qrp2miiapv7d-source
> source root is source
> patching sources
> configuring
> no configure script, doing nothing
> building
> /nix/store/b9ciz4w06pyimkznnsb4d675nsh64zaa-bundler-2.4.13/lib/ruby/gems/3.1.0/gems/bundler-2.4.13/lib/bundler/rubygems_integration.rb:308:in `block in replace_bin_path': can't find executable rake for gem rake. rake is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
> from /nix/store/b9ciz4w06pyimkznnsb4d675nsh64zaa-bundler-2.4.13/lib/ruby/gems/3.1.0/gems/bundler-2.4.13/lib/bundler/rubygems_integration.rb:347:in `block in replace_bin_path'
> from /nix/store/gw96jli5cy00m8md57f47qnm96xj0bki-frab-gems/bin/rake:35:in `<main>'
For full logs, run 'nix log /nix/store/cz10ya01hdihh34jc4bkia5wyrkr8bw3-frab.drv'.
The wiki tutorial on this topic seems to be broken: Packaging/Ruby - NixOS Wiki (is there a place to report this?).
I’d appreciate any background info and help on how to handle this!