Skip to content

Instantly share code, notes, and snippets.

@did
Created April 18, 2014 15:52
Show Gist options
  • Select an option

  • Save did/11051069 to your computer and use it in GitHub Desktop.

Select an option

Save did/11051069 to your computer and use it in GitHub Desktop.
Timeout pour Wagon
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'builder' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../Gemfile",
Pathname.new(__FILE__).realpath)
require 'rubygems'
require 'bundler/setup'
require 'pry'
require 'liquid'
require 'httmultiparty'
require 'locomotive/mounter/engine_api'
module Locomotive
module Mounter
class EngineApi
default_timeout 600
end
end
end
Dir[File.dirname(__FILE__) + '../lib/liquid/*.rb'].each {|file| require file }
load '../lib/liquid/tags/gallery.rb'
load Gem.bin_path('locomotivecms_wagon', 'wagon')
I18n.enforce_available_locales = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment