This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ActionView::Template::Handlers::Liquid | |
def self.call(template) | |
"ActionView::Template::Handlers::Liquid.new(self).render(#{template.source.inspect}, local_assigns)" | |
end | |
def initialize(view) | |
@view = view | |
end | |
def render(template, local_assigns = {}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/dumb-init /bin/sh | |
set -e | |
# Note above that we run dumb-init as PID 1 in order to reap zombie processes | |
# as well as forward signals to all processes in its session. Normally, sh | |
# wouldn't do either of these functions so we'd leak zombies as well as do | |
# unclean termination of all our sub-processes. | |
# Prevent core dumps | |
ulimit -c 0 |
OlderNewer