So while doing bundle install I get a JSON error saying
An error occurred while installing json (1.8.6), and Bundler cannot
continue.
Make sure that `gem install json -v '1.8.6'` succeeds before bundling.
then I try
gem install json -v 1.8.6
but it spits out
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /var/lib/gems/2.3.0 directory.
Why does it do this and why cant I bundle install