Skip to content

Commit

Permalink
fix: gitpod ruby version error
Browse files Browse the repository at this point in the history
Signed-off-by: Darshan Lahamage <[email protected]>
  • Loading branch information
darshanlahamage committed Jan 5, 2025
1 parent 17686b7 commit 8e61370
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit 8e61370

Please sign in to comment.