We've moved discussions to Discord

URI::InvalidURIError in Static#index

Rob Thomas
Hey Guys, 

I'm getting an Invalid URI Error in my rails app. Seems like letter opener is the issue. It's happening on line 18:

<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>

bad URI(is not URI?): "file-digest:///Users/robthomas/Library/Mobile Documents/com~apple~CloudDocs/Empulse/rails/peek-web/app/assets/config/letter_opener_web"


<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>

<%= stylesheet_pack_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>

<%# Be sure to add your own custom favicons %>
<%= render "shared/favicons" %>
Chris Oliver
Hmmm, what changes have you made to your app or is this happening with a fresh copy of Jumpstart?
Rob Thomas
Hey  I only opened letter opener once, went on vacation and came back and tried to run the app and the error was there.

Chris Oliver
I blame your vacation then. 😜

That's strange. Maybe there has been a recent change to letter opener or something. I am not quite sure.
Rob Thomas
Ha same here I was doing so good until I went on vacation. Is there any way to remove letter opener? I did I a lot of work and I don't want to start over.

Rob Thomas
Sooooooo I just cloned the repo from my GitHub and it's all good to go!!!!
Rob Thomas
Hey Guys, 

I'm getting an Invalid URI Error in my rails app. Seems like letter opener is the issue. It's happening on line 18:

<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>

bad URI(is not URI?): "file-digest:///Users/robthomas/Library/Mobile Documents/com~apple~CloudDocs/Empulse/rails/peek-web/app/assets/config/letter_opener_web"


<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>

<%= stylesheet_pack_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>

<%# Be sure to add your own custom favicons %>
<%= render "shared/favicons" %>
Chris Oliver
Hmmm, what changes have you made to your app or is this happening with a fresh copy of Jumpstart?
Rob Thomas
Hey  I only opened letter opener once, went on vacation and came back and tried to run the app and the error was there.

Chris Oliver
I blame your vacation then. 😜

That's strange. Maybe there has been a recent change to letter opener or something. I am not quite sure.
Rob Thomas
Ha same here I was doing so good until I went on vacation. Is there any way to remove letter opener? I did I a lot of work and I don't want to start over.

Rob Thomas
Sooooooo I just cloned the repo from my GitHub and it's all good to go!!!!
Notifications
You’re not receiving notifications from this thread.
© 2023 Jumpstart Pro by GoRails, LLC