From eda4ee2034a7579c3df7d0bfe68fdefaf2601cb6 Mon Sep 17 00:00:00 2001 From: Stephan Druskat Date: Thu, 28 May 2026 18:30:34 +0200 Subject: [PATCH 1/3] Add cross-platform conda env manifest and describe use --- README.md | 5 ++++- conda-env-de-rse-website.yml | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 conda-env-de-rse-website.yml diff --git a/README.md b/README.md index b1b388b..14141f8 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,10 @@ This repository contains the source files for the de-RSE website. Its official h The site is made to be built with [Jekyll](https://jekyllrb.com/) >= 3.4.1. -You can use [RVM](https://rvm.io/) to install and use a suitable Ruby version, e.g., `rvm use 2.7`. +You can use, e.g., + +- [RVM](https://rvm.io/) to install and use a suitable Ruby version, e.g., `rvm use 2.7`. +- [`conda`/`mamba`] to install dependencies into a reproducible environment via `mamba env create -f conda-env-de-rse-website.yml && mamba activate de-rse-website`. To build, run `bundle install` once (or skip that if you have dependencies already installed and bundler does not work for you) and then `bundle exec jekyll build`. To preview locally, run `bundle exec jekyll serve --incremental` and browse to . diff --git a/conda-env-de-rse-website.yml b/conda-env-de-rse-website.yml new file mode 100644 index 0000000..9d7f1e1 --- /dev/null +++ b/conda-env-de-rse-website.yml @@ -0,0 +1,8 @@ +name: de-rse-website +channels: + - conda-forge +dependencies: + - c-compiler + - compilers + - cxx-compiler + - ruby From a7afe7aa4d25bf19635d8d1ad8047191578a21ed Mon Sep 17 00:00:00 2001 From: Stephan Druskat Date: Fri, 29 May 2026 12:38:04 +0200 Subject: [PATCH 2/3] Pin jekyll version and remove decaration of transitive dependencies --- Gemfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 576baee..d4feca2 100644 --- a/Gemfile +++ b/Gemfile @@ -7,9 +7,7 @@ gem 'wdm', '~> 0.1.1' if Gem.win_platform? gem 'rake' -gem 'jekyll' -gem 'liquid', '>= 5.5.0' -gem "kramdown", ">= 2.3.0" +gem 'jekyll', ">= 4.4.1" gem 'jekyll-feed', group: :jekyll_plugins gem 'jekyll-redirect-from', group: :jekyll_plugins gem "kramdown-parser-gfm" From 13d6520287a6e93c8ef7e9f937b61509d4891759 Mon Sep 17 00:00:00 2001 From: Stephan Druskat Date: Fri, 29 May 2026 12:38:22 +0200 Subject: [PATCH 3/3] Pin ruby version --- conda-env-de-rse-website.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda-env-de-rse-website.yml b/conda-env-de-rse-website.yml index 9d7f1e1..faf3196 100644 --- a/conda-env-de-rse-website.yml +++ b/conda-env-de-rse-website.yml @@ -5,4 +5,4 @@ dependencies: - c-compiler - compilers - cxx-compiler - - ruby + - ruby=4.0.*