Development uses OS: MacOS Language: Ruby, Framework: Ruby on Rails (coding HTML with erb) DB: PostgreSQL.
The following is the version.Heroku-v: 7.35.0 darwin-x64
node.js -v: 10.16.3
postgreSQL -v: 12.1
rails -v: 5.2.4
ruby -v: 2.5.1p57 [x86_64-darwin19]
I want to solve:
Heroku open error resolution
An error has occurred in ActionView
Check with Heroku log
Completed 500 Internal Server Error in 181ms (ActiveRecord: 17.1ms)
ActionView :: Template :: Error (The asset "logo.png" is not present in the asset pipeline.):
<% = image_tag 'logo.png', alt: 'logo', width: '50px'%>
①image_tag Check log entry for "logo.png"
② Confirm that there are also images in asset/images
③ Insert the same image image into public/assets
④ Change environment/production.rb to config.assets.compile = FALSE to true
⑤ Add config.assets.initialize_on_precompile = false to class Application of config/application.rb
⑥ After adding ⑤, execute $rake assets: precompile,
yarn install v1.19.1
info No lockfile found.
[1/4]
-
Answer # 1
Related articles
- postgresql - an error occurs when scaffolding on aspnet core using ssl communication
- [beginner] i want to display postgresql data on html using ruby with filtering function
- python - next day forecast result display error
- error occurred in postgresql trigger function and stored procedure
- html - i want to display the view, but i get an error screen
- java - i want to display the corresponding argument in the error message when the command argument is not an integer
- i want to display the value obtained from postgresql with javascript on erb
- php - an error occurs when connecting to git on heroku
- php - i want to display an error or redirect
- ruby - i want to display an error message when posting/editing fails by validation check
- postgresql - unable to resolve error in db: create
- java - i want to get the entire list from the db and display it, but an error occurs when executing the application
- i want to check the form input with php, display an error on the same page if it is not filled in, and move to another page only
- postgresql - pgadmin4 display of machine-dependent characters
- error display on python discord bot
- javascript - error message display when the radio button is not selected
- ruby - error when deploying on heroku
- ruby on rails - heroku run rails db: migrate an error occurs in heroku run rails db: migrate
- an error occurs when installing the postgresql12 develop file on aws (ec2)
- ruby on rails 5 - i want to display ruby on rails error messages using a modal window
- postgresql - an error occurs when scaffolding on aspnet core using ssl communication
- postgresql - [spring] i want to read the table defined in the heroku postgres file
- postgresql - how to upgrade psql
- unable to connect to postgresql with database settings when deploying django on heroku
- ruby - error deploying rails app to heroku
- do i have to add a postgresql add-on to herouku?
- ruby - [rails] uninitialized constant actionview :: compiledtemplates :: users
- ruby - [rails postgresql] pg :: undefinedtable: error: relation "users" does not exist
- postgresql - [rails] we're sorry, but something went wrong
- postgresql - local execution of nodejs sample files using heroku database connection
You can display it by adding/images/in front of the image.
Thank you very much.