Hey Hassan,
yes this would have helped me alot. I figured it out yesterday after I
wrote the alst emssage. It was all the failure of the uglifier gem. I
changed the gem version to 3.0.8 (it was 4.1.18 before) and it worked. The
uglifier gem somehow produced corrupted JS files. But you would hav
I have tried to start it in production mode:
rails db:create -RAILS_ENV=producion
>
rails db:migrate -RAILS_ENV=producion
rails assets:precompile
rails s -e production
It does not work in production either. The Error is now
Failed to load resource: the server responded with a status of
I think there is a big problem with JavaScript files in Rails 5 apps in
Production environment on Heroku.
Steps to reproduce
Step 1: Creating a new Rails 5 App and switching to the root folder
rails new my_app --database=postgresql
cd my_app
Step 2: Generate a controller
rails generate contr
3 matches
Mail list logo