diff --git a/.gitpod.yml b/.gitpod.yml index fabcee320c..b29994d18c 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -3,6 +3,10 @@ # and commit this file to your remote git repository to share the goodness with others. tasks: - - init: make && bundle install + - init: | + # Install the Ruby version from Gemfile + ruby_version=$(grep 'ruby ' Gemfile | head -n 1 | cut -d"'" -f2) + rvm install $ruby_version + make && bundle install diff --git a/Gemfile b/Gemfile index ea07a282d6..b5b6857d13 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -# ruby '3.2.2' +ruby '3.2.2' gem 'jekyll', '4.3.4' gem 'tzinfo-data', platforms: [:x64_mingw]