ryanb / letter_opener

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

Unable to interpret 'file:///rich.html' as a path or URL #196

Closed lmonica97 closed 2 years ago

lmonica97 commented 2 years ago

Hi there,

I'm getting the error: Unable to interpret 'file:///rich.html' as a path or URL.

I've tried doing Launchy.open('file:///rich.html') and I get a bunch of Syntax Errors. However, when I copy the file path onto my browser, the file opens up fine.

Rails ver 6.1

nashby commented 2 years ago

Hey @lmonica97. What are the errors you get why you try Launchy.open?