After installing 'Yarn'

After installing ‘Yarn’, this error during new Rails app creation:

Hi, Paul, what is it going? My name is Paul also, but in Portuguese (Paulo).
Are you using some ruby version managment, such as rbenv?
This issue happned to me using a ruby version 2.7.0 and Rails 2.6.6. Any 2.6.X version is stable with rails 6.X.X
Until now, using rbenv with controlled environment, I have not income in this issue again.

The problem seem to be bootsnap, This might be the solution:

I use RVM with Ruby 2.7 and Rails
To fix the error I had to cd into the ROR app folder and run ‘bundle install’ , install yarn, and install webpacker. I thought just by doing ‘rails new app’ all that would be done automatically.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs