mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 17:41:41 +00:00
arreglar el deploy
This commit is contained in:
parent
f1a045cf13
commit
e5112cdd53
3 changed files with 15 additions and 1 deletions
|
@ -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.
|
||||
RUN sed -re "/(uglifier|bootstrap|coffee-rails)/d" -i Gemfile
|
||||
RUN bundle clean
|
||||
|
||||
COPY ./mobility.patch .
|
||||
RUN patch -N -i mobility.patch
|
||||
|
||||
# Contenedor final
|
||||
FROM sutty/monit:latest
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Invitadx < ApplicationRecord; end
|
||||
|
|
11
mobility.patch
Normal file
11
mobility.patch
Normal 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)
|
Loading…
Reference in a new issue