Browse Source

Merge pull request #2461 from dsander/installation-instructions

Update manual installation instructions
Akinori MUSHA 6 years ago
parent
commit
07a45bdcda
3 changed files with 19 additions and 1 deletions
  1. 9 0
      doc/manual/installation.md
  2. 1 1
      doc/manual/requirements.md
  3. 9 0
      doc/manual/update.md

+ 9 - 0
doc/manual/installation.md

@@ -59,6 +59,11 @@ Since Debian Stretch, `runit` isn't started anymore automatically, but this gets
 
      sudo apt-get install -y runit-systemd libssl1.0-dev
 
+### Ubuntu 18.04 Bionic
+
+To start `runit` automatically on Ubuntu Bionic, we need to install `runit-systemd`:
+
+    sudo apt-get install -y runit-systemd
 
 ## 2. Ruby
 
@@ -81,6 +86,10 @@ Install the bundler and foreman gems:
 
     sudo gem install rake bundler foreman --no-document
 
+Update rubygems:
+
+    sudo gem update --system --no-document
+
 ## 3. System Users
 
 Create a user for Huginn:

+ 1 - 1
doc/manual/requirements.md

@@ -4,7 +4,7 @@
 
 ### Supported Unix distributions by this guide
 
-- Ubuntu (16.04, 14.04 and 12.04)
+- Ubuntu (18.04, 16.04 and 14.04)
 - Debian (Jessie and Wheezy)
 
 ### Unsupported Unix distributions

+ 9 - 0
doc/manual/update.md

@@ -52,6 +52,15 @@ sudo -u huginn -H cp Procfile.bak Procfile
 
 ### 4. 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