'Ruby on Rails install on M1 Macbook Air (added photo)

enter image description hereI'm trying to install rails. Setup: M1 Macbook Air and Rails 2.6.8 So far my progress is:

cd rainbow
bundle install
rake db:setup

Then I get error messages:

screenshot of stack trace



Solution 1:[1]

Trying commenting out bootsnap in your Gemfile.

# gem 'bootsnap'

Then run bundle install again.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jonathan P