Directories on host machine:
-
/data/certbot/letsencrypt
-
/data/certbot/www
-
Nginx server in docker container
docker run -d --name nginx \
Directories on host machine:
/data/certbot/letsencrypt
/data/certbot/www
Nginx server in docker container
docker run -d --name nginx \
Problem:
When uploading svg file with Carrierwave you may get an error:
Failed to manipulate with MiniMagick, maybe it is not an image?
Original Error: `identify /tmp/mini_magick20190222-32759-1g7lnmy.svg` failed with error:
All code is available in example app - https://github.com/maxivak/webpacker-rails-example-app
Bootstrap 4 tabs (or pills) rendered underline.
_pills_underline_varibles.scss - edit styles using variables
$nav-pills-underline-link-active-color: $link-color !default;
$nav-pills-underline-link-hover-color: $link-hover-color !default;
$nav-pills-underline-bg: transparent !default;
If you have your code defined in classes in lib/ folder you may have problems to load that code in production.
Autoloading is disabled in the production environment by default because of thread safety.
Change config/application.rb:
config.autoload_paths << Rails.root.join("lib")
config.eager_load_paths << Rails.root.join("lib")