ryanb / letter_opener

Preview mail in the browser instead of sending.
MIT License
3.73k stars 237 forks source link

Letter_opener Conflict with bootsnap #204

Closed ChaabaneAnas closed 1 year ago

ChaabaneAnas commented 1 year ago

Hello everyone I'm learning bout ruby on rails and I heard about this fabulous gem and started using it immediately duo to it's easy configuration worked perfectly at the first project I started a new project , and did the same configuration : add gem "letter_opener" to the gemfile run bundle add these two lines to config/environments/development.rb

config.action_mailer.delivery_method = :letter_opener
config.action_mailer.perform_deliveries = true

Note: I'm using this with devise

but then when i run rails server and i try to register image

did some researches and turned out the gem conflicts with bootsnap somehow i tried serval solutions but none of them worked ...

nashby commented 1 year ago

Hey! Could you please provide a sample app that reproduces this issue? I tried to reproduce it myself but with no luck

ChaabaneAnas commented 1 year ago

@nashby Hello, I can show u the bug live on a zoom call if you’re available I don’t think sending the an app will produce it aswell

nashby commented 1 year ago

@ChaabaneAnas if we can't reproduce it in isolated application then I don't think we can fix it, sorry. Most likely it's something specifically related to your app.

ChaabaneAnas commented 1 year ago

@nashby this is the 3rd app now it occurs on That’s why im frustrated

nashby commented 1 year ago

@ChaabaneAnas feel free to push a sample app to github so I can check otherwise I can't help you, sorry.