X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/75e3227508b3823d0d3a56f17cda63a4a047be5b..a7ca10dcc07d031f44be47e600ae19bd21b337c0:/INSTALL.md diff --git a/INSTALL.md b/INSTALL.md index 99db9c037..ec219b504 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -23,7 +23,7 @@ of packages required before you can get the various gems installed. ## Minimum requirements * Ruby 3.0+ -* PostgreSQL 9.1+ +* PostgreSQL 12+ * Bundler (see note below about [developer Ruby setup](#rbenv)) * Javascript Runtime @@ -31,12 +31,11 @@ These can be installed on Ubuntu 22.04 or later with: ``` sudo apt-get update -sudo apt-get install ruby3.0 libruby3.0 ruby3.0-dev \ +sudo apt-get install ruby ruby-dev ruby-bundler \ libvips-dev libxml2-dev libxslt1-dev nodejs \ build-essential git-core \ postgresql postgresql-contrib libpq-dev libsasl2-dev \ - libffi-dev libgd-dev libarchive-dev libbz2-dev npm -sudo gem3.0 install bundler + libffi-dev libgd-dev libarchive-dev libyaml-dev libbz2-dev npm sudo npm install --global yarn ``` @@ -52,7 +51,7 @@ sudo dnf install ruby ruby-devel rubygem-rdoc rubygem-bundler rubygems \ gcc gcc-c++ git \ postgresql postgresql-server postgresql-contrib libpq-devel \ perl-podlators libffi-devel gd-devel libarchive-devel \ - bzip2-devel nodejs-yarn vips-devel + libyaml-devel bzip2-devel nodejs-yarn vips-devel ``` If you didn't already have PostgreSQL installed then create a PostgreSQL instance and start the server: