I'm using rails 5.2.3 with apache2 when I run the development server it shows no error but when I deploy it with passenger and apache2 server it shows this error
Error: uninitialized constant URI::Generic,
I'm using rails 5.2.3 with apache2 when I run the development server it shows no error but when I deploy it with passenger and apache2 server it shows this error
Error: uninitialized constant URI::Generic,
add the first of file (config/application.rb) you can add this line
require 'uri'
$ rails new blog
and the step rails webpacker:install
throws this issue (Error: uninitialized constant URI::Generic,
). After implementing this fix, re-running the rails webpacker:install
command will succeed. –
Bauhaus © 2022 - 2024 — McMap. All rights reserved.