X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f54642381beaf0247cd19a90b20563e9a5f7b8a9..58050240d6410cf09acfde1f9af205a6d8b8e370:/INSTALL.md diff --git a/INSTALL.md b/INSTALL.md index d799f6586..004133baf 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -30,7 +30,7 @@ These can be installed on Ubuntu 18.04 or later with: sudo apt-get update sudo apt-get install ruby2.5 libruby2.5 ruby2.5-dev bundler \ libmagickwand-dev libxml2-dev libxslt1-dev nodejs \ - apache2 apache2-dev build-essential git-core phantomjs \ + apache2 apache2-dev build-essential git-core firefox-geckodriver \ postgresql postgresql-contrib libpq-dev libsasl2-dev \ imagemagick libffi-dev libgd-dev libarchive-dev libbz2-dev sudo gem2.5 install bundler @@ -86,17 +86,7 @@ Installing other dependencies: * Install Homebrew from https://brew.sh/ * Install the latest version of Ruby: `brew install ruby` -* Install ImageMagick: `brew install imagemagick` -* Install libxml2: `brew install libxml2` -* Install libgd: `brew install gd` -* Install Yarn: `brew install yarn` -* Install pngcrush: `brew install pngcrush` -* Install optipng: `brew install optipng` -* Install pngquant: `brew install pngquant` -* Install jhead: `brew install jhead` -* Install jpegoptim: `brew install jpegoptim` -* Install gifsicle: `brew install gifsicle` -* Install svgo: `brew install svgo` +* Install other dependencies: `brew install imagemagick libxml2 gd yarn pngcrush optipng pngquant jhead jpegoptim gifsicle svgo` * Install Bundler: `gem install bundler` (you might need to `sudo gem install bundler` if you get an error about permissions - or see note below about [developer Ruby setup](#rbenv)) You will need to tell `bundler` that `libxml2` is installed in a Homebrew location. If it uses the system-installed one then you will get errors installing the `libxml-ruby` gem later on. @@ -105,11 +95,11 @@ You will need to tell `bundler` that `libxml2` is installed in a Homebrew locati bundle config build.libxml-ruby --with-xml2-config=/usr/local/opt/libxml2/bin/xml2-config ``` -If you want to run the tests, you need `phantomjs` as well: +If you want to run the tests, you need `geckodriver` as well: ``` brew tap homebrew/cask -brew cask install phantomjs +brew cask install geckodriver ``` Note that OS X does not have a /home directory by default, so if you are using the GPX functions, you will need to change the directories specified in config/application.yml.