Skip to content

Commit

Permalink
Merge pull request #437 from betadots/update_ruby
Browse files Browse the repository at this point in the history
feat: update to ruby 3.3.5
  • Loading branch information
rwaffen authored Sep 6, 2024
2 parents eb3aa4b + a4e6a5f commit 33eff77
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-3.3.4
ruby-3.3.5
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.3.4
ruby 3.3.5
8 changes: 5 additions & 3 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
In case you are using an Apple M1 Chip you might run into trouble building
Ruby. A work around for that is using the command

rvm reinstall 3.3.4 --with-openssl-dir=$(brew --prefix openssl) --with-readline-dir=$(brew --prefix readline) --with-libyaml-dir=$(brew --prefix libyaml) --disable-dtrace --disable-docs
cd hdm
rvm reinstall $(cat .ruby-version) --with-openssl-dir=$(brew --prefix openssl) --with-readline-dir=$(brew --prefix readline) --with-libyaml-dir=$(brew --prefix libyaml) --disable-dtrace --disable-docs

On intel you can proceed with the following:

rvm install 3.3.4
rvm use 3.3.4
cd hdm
rvm install $(cat .ruby-version)
rvm use $(cat .ruby-version)

## **Main part**

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.3.4-slim-bookworm
FROM ruby:3.3.5-slim-bookworm

RUN apt update && apt install -y \
g++ \
Expand Down
5 changes: 3 additions & 2 deletions MANUAL_INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ On Alma 8 you must install libyaml-devel:

Now you can install the required ruby version:

rvm install 3.3.4
rvm use 3.3.4
cd hdm
rvm install $(cat .ruby-version)
rvm use $(cat .ruby-version)

### **Main part**

Expand Down

0 comments on commit 33eff77

Please sign in to comment.