aplicar parche a mobility
This commit is contained in:
parent
e5112cdd53
commit
80c9ebbac0
2 changed files with 4 additions and 4 deletions
|
@ -52,8 +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 sed -re "s/def visit\(object\)/def visit(object, collection = nil)/" \
|
||||||
RUN patch -N -i mobility.patch
|
-i `bundle show mobility`/lib/mobility/arel/visitor.rb
|
||||||
|
|
||||||
# Contenedor final
|
# Contenedor final
|
||||||
FROM sutty/monit:latest
|
FROM sutty/monit:latest
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- /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
|
--- 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
|
+++ lib/mobility/arel/visitor.rb 2019-08-29 14:18:38.146723362 -0300
|
||||||
@@ -14,7 +14,7 @@
|
@@ -14,7 +14,7 @@
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in a new issue