When installing slate on ubuntu 18.04 I stumbled upon this error:
Can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
So checking the bundler version of slate:
$ cat Gemfile.lock | grep -A 1 "BUNDLED WITH"
BUNDLED WITH
2.0.2
$ gem install bundler -v '2.0.2'
However, other problem now arised, unable to compile some dependencies. To fix this, you need to install the following (not mentioned in the original Slate wiki):
sudo apt install zlib1g-dev build-essential ruby-full
Resource:
https://bundler.io/blog/2019/01/04/an-update-on-the-bundler-2-release.html