Eduardo Lima

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in How to use AMP with Ruby on Rails Discussion

Hey Chris, I am getting a file not found in production when I use
<%= File.read "#{Rails.root}/public#{stylesheet_path('amp/application', host: nil)}" %>.

I did include `config.assets.precompile << "amp/application.scss" in the application.rb

Would you be able to help?

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.