arreglar el deploy

This commit is contained in:
f 2019-09-07 16:34:04 -03:00
parent f1a045cf13
commit e5112cdd53
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
3 changed files with 15 additions and 1 deletions

View file

@ -52,7 +52,8 @@ RUN find public/assets -type f -name "*.gz" | sed -re "s/\.gz$//" | xargs -r bro
# assets ya están pre-compilados. # assets ya están pre-compilados.
RUN sed -re "/(uglifier|bootstrap|coffee-rails)/d" -i Gemfile RUN sed -re "/(uglifier|bootstrap|coffee-rails)/d" -i Gemfile
RUN bundle clean RUN bundle clean
COPY ./mobility.patch .
RUN patch -N -i mobility.patch
# Contenedor final # Contenedor final
FROM sutty/monit:latest FROM sutty/monit:latest

View file

@ -1 +1,3 @@
# frozen_string_literal: true
class Invitadx < ApplicationRecord; end class Invitadx < ApplicationRecord; end

11
mobility.patch Normal file
View file

@ -0,0 +1,11 @@
--- /srv/http/vendor/ruby/gems/2.5.0/gems/mobility-0.8.7/lib/mobility/arel/visitor.rb.orig 2019-08-29 14:20:24.180122614 -0300
+++ /srv/http/vendor/ruby/gems/2.5.0/gems/mobility-0.8.7/lib/mobility/arel/visitor.rb 2019-08-29 14:18:38.146723362 -0300
@@ -14,7 +14,7 @@
private
- def visit(object)
+ def visit(object, collection = nil)
super
rescue TypeError
visit_default(object)