From ee76bfa9fc74f333581cdf3fdd255d316f047283 Mon Sep 17 00:00:00 2001 From: Peter Upfold Date: Sun, 25 Jun 2023 06:45:15 +0100 Subject: [PATCH 1/2] Update manual install docs for Ruby 3.2.2 --- doc/manual/installation.md | 6 +++--- doc/manual/update.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/manual/installation.md b/doc/manual/installation.md index a392d46e9e..b4f706f3c3 100644 --- a/doc/manual/installation.md +++ b/doc/manual/installation.md @@ -46,7 +46,7 @@ up-to-date and install it. Install the required packages (needed to compile Ruby and native extensions to Ruby gems): - sudo apt-get install -y runit build-essential git zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate pkg-config cmake nodejs graphviz jq shared-mime-info + sudo apt-get install -y runit build-essential git zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate pkg-config cmake nodejs graphviz jq shared-mime-info libtool-bin ### Debian Stretch @@ -72,8 +72,8 @@ Remove the old Ruby versions if present: Download Ruby and compile it: mkdir /tmp/ruby && cd /tmp/ruby - curl -L --progress-bar https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.7.tar.bz2 | tar xj - cd ruby-2.7.7 + curl -L --progress-bar https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.bz2 | tar xj + cd ruby-3.2.2 ./configure --disable-install-rdoc make -j`nproc` sudo make install diff --git a/doc/manual/update.md b/doc/manual/update.md index 12d81930f4..ce47265f32 100644 --- a/doc/manual/update.md +++ b/doc/manual/update.md @@ -52,7 +52,7 @@ sudo -u huginn -H cp Procfile.bak Procfile ### 4. Update ruby version -Ensure you have Ruby 2.7 installed: +Ensure you have Ruby 3.2 installed: ``` ruby -v @@ -62,8 +62,8 @@ Upgrade when required: ``` mkdir /tmp/ruby && cd /tmp/ruby -curl -L --progress https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.7.tar.bz2 | tar xj -cd ruby-2.7.7 +curl -L --progress https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.bz2 | tar xj +cd ruby-3.2.2 ./configure --disable-install-rdoc make -j`nproc` sudo make install From e751d84a5903d912838e5118dc5f9de5f0589683 Mon Sep 17 00:00:00 2001 From: Peter Upfold Date: Sun, 2 Jul 2023 06:27:51 +0100 Subject: [PATCH 2/2] Remove libtool-bin as a dependency --- doc/manual/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/installation.md b/doc/manual/installation.md index b4f706f3c3..80f8e271fd 100644 --- a/doc/manual/installation.md +++ b/doc/manual/installation.md @@ -46,7 +46,7 @@ up-to-date and install it. Install the required packages (needed to compile Ruby and native extensions to Ruby gems): - sudo apt-get install -y runit build-essential git zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate pkg-config cmake nodejs graphviz jq shared-mime-info libtool-bin + sudo apt-get install -y runit build-essential git zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate pkg-config cmake nodejs graphviz jq shared-mime-info ### Debian Stretch