X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/302a53d767a468a7bd4d716a1a0eba8ba38ad09b..6ba1dc3957602f361b65af13621604d041bbc2c5:/INSTALL.md?ds=sidebyside diff --git a/INSTALL.md b/INSTALL.md index 787c81ee7..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,12 @@ 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 firefox-geckodriver \ + build-essential git-core \ postgresql postgresql-contrib libpq-dev libsasl2-dev \ - libffi-dev libgd-dev libarchive-dev libbz2-dev yarnpkg -sudo gem3.0 install bundler + libffi-dev libgd-dev libarchive-dev libyaml-dev libbz2-dev npm +sudo npm install --global yarn ``` ### Alternative platforms @@ -51,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: