An error occurred while installing racc (1.6.0), and Bundler cannot continue

Viewed 6301

Getting the following error while running bundle

An error occurred while installing racc (1.6.0), and Bundler cannot continue.
Make sure that `gem install racc -v '1.6.0' --source 'https://rubygems.org/'` succeeds before bundling.
1 Answers

I got the same error. I tried the following and the error's gone. Hopefully it can help you.

  1. Update ruby to the latest version 2.7.0p0 using:

    sudo apt-get install ruby-full build-essential
    
  2. Re-run bundle install

Related