Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
feat: upgrade ruby version to 3.1 for forum service
Browse files Browse the repository at this point in the history
  • Loading branch information
SaadYousaf authored and SaadYousaf committed Oct 13, 2023
1 parent 8da3ed0 commit 2a297c2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion playbooks/roles/forum/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ devstack_forum_env:
MONGOID_AUTH_MECH: "{{ FORUM_MONGO_AUTH_MECH }}"

forum_user: "forum"
FORUM_RUBY_VERSION: "3.0.4"
FORUM_RUBY_VERSION: "3.1.0"
forum_source_repo: "https://github.com/openedx/cs_comments_service.git"
FORUM_VERSION: "master"

Expand Down
9 changes: 9 additions & 0 deletions playbooks/roles/forum/tasks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@
- install
- install:app-requirements

- name: configure nokogiri package
shell: "bundle config build.nokogiri --use-system-libraries chdir={{ forum_code_dir }}"
become_user: "{{ forum_user }}"
environment: "{{ forum_base_env }}"
notify: restart the forum service
tags:
- install
- install:app-requirements

- name: install comments service bundle
shell: "bundle install chdir={{ forum_code_dir }}"
become_user: "{{ forum_user }}"
Expand Down
4 changes: 2 additions & 2 deletions playbooks/roles/rbenv/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---

RBENV_VERSION: 'v1.0.0'
RBENV_BUNDLER_VERSION: '2.3.4'
RBENV_BUNDLER_VERSION: '2.4.0'
RBENV_RAKE_VERSION: '13.0.6'
rbenv_root: "{{ rbenv_dir }}/.rbenv"
rbenv_gem_root: "{{ rbenv_dir }}/.gem"
rbenv_gem_bin: "{{ rbenv_gem_root }}/bin"
rbenv_gemfile: 'Gemfile3'
RBENV_RUBYGEMS_VERSION: '3.2.33'
RBENV_RUBYGEMS_VERSION: '3.3.3'
rbenv_bin: "{{ rbenv_dir }}/.rbenv/bin"
rbenv_shims: "{{ rbenv_root }}/shims"
rbenv_path: "{{ rbenv_bin }}:{{ rbenv_shims }}:{{ rbenv_gem_bin }}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Expand Down

0 comments on commit 2a297c2

Please sign in to comment.