diff --git a/Gemfile b/Gemfile index 87a121bc..74b524e8 100644 --- a/Gemfile +++ b/Gemfile @@ -56,6 +56,8 @@ gem 'rest-client', '~> 1.8' gem 'activerecord', '~> 5.0', '>= 5.0.0.1' +gem 'mimemagic', github: 'mimemagicrb/mimemagic', ref: '01f92d86d15d85cfd0f20dabd025dcbd36a8a60f' + group :development, :test do gem 'sqlite3' # Call 'byebug' anywhere in the code to stop execution and get a debugger console diff --git a/Gemfile.lock b/Gemfile.lock index 0276cf58..be3aada7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -24,6 +24,13 @@ GIT railties (>= 5.2, < 6.1) responders (>= 2, < 4) +GIT + remote: https://github.com/mimemagicrb/mimemagic.git + revision: 01f92d86d15d85cfd0f20dabd025dcbd36a8a60f + ref: 01f92d86d15d85cfd0f20dabd025dcbd36a8a60f + specs: + mimemagic (0.3.5) + GEM remote: https://rubygems.org/ specs: @@ -163,7 +170,6 @@ GEM mimemagic (~> 0.3.2) method_source (0.9.2) mime-types (2.99.3) - mimemagic (0.3.3) mini_mime (1.0.2) mini_portile2 (2.4.0) mini_racer (0.2.9) @@ -346,6 +352,7 @@ DEPENDENCIES launchy libv8 listen (>= 3.0.5, < 3.2) + mimemagic! mini_racer (~> 0.2.9) nokogiri (>= 1.10.4) pg (= 0.21.0) @@ -371,7 +378,7 @@ DEPENDENCIES webpacker (~> 4.2.2) RUBY VERSION - ruby 2.6.5p114 + ruby 2.7.0p0 BUNDLED WITH 2.1.4 diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2d82578b..2a17a7cc 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -5,6 +5,9 @@ <%= csrf_meta_tags %> <%= favicon_link_tag asset_path('favicon.png') %> <%= csrf_meta_tags %> + + <%= stylesheet_pack_tag 'application' %> + @@ -75,11 +78,10 @@
- - - - <%= stylesheet_pack_tag 'application' %> <%= javascript_pack_tag 'application' %> <%= javascript_pack_tag 'container-bundle' %> + + +