Skip to content

Commit

Permalink
Update documents
Browse files Browse the repository at this point in the history
Modern versions of Ruby obviously have Rubygems 2.7.0+ with them. [ci skip]
  • Loading branch information
knu committed Nov 17, 2024
1 parent 5f80101 commit 7063e2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
7 changes: 3 additions & 4 deletions doc/manual/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,14 @@ 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/3.2/ruby-3.2.4.tar.xz | tar xJ
cd ruby-3.2.4
curl -L --progress-bar https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.tar.xz | tar xJ
cd ruby-3.2.6
./configure --disable-install-rdoc
make -j`nproc`
sudo make install

Update rubygems and install foreman:
Install foreman:

sudo gem update --system --no-document
sudo gem install foreman --no-document

## 3. System Users
Expand Down
13 changes: 2 additions & 11 deletions doc/manual/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ Upgrade when required:

```
mkdir /tmp/ruby && cd /tmp/ruby
curl -L --progress https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz | tar xJ
cd ruby-3.2.4
curl -L --progress https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.tar.xz | tar xJ
cd ruby-3.2.6
./configure --disable-install-rdoc
make -j`nproc`
sudo make install
Expand All @@ -72,15 +72,6 @@ sudo gem install rake bundler foreman --no-document

### 5. Install gems, migrate and precompile assets

Ensure you have rubygems 2.7.0+ installed:

```
gem -v
# Update rubygems if the version is too old
sudo gem update --system --no-document
```

```
cd /home/huginn/huginn
bundle config set --local deployment 'true'
Expand Down

0 comments on commit 7063e2c

Please sign in to comment.