Sha256: 25aee0727b53dc75ba0b1866feb87f36b70653e8dcba1eff03b69a1370bf21fe
Contents?: true
Size: 656 Bytes
Versions: 22
Compression:
Stored size: 656 Bytes
Contents
$:.unshift(File.expand_path(File.dirname(__FILE__) + '/../..')) require 'locomotive/wagon/logger' require 'locomotive/wagon/version' require 'locomotive/wagon/exceptions' require 'locomotive/wagon/server' require 'locomotive/mounter' module Locomotive module Wagon class StandaloneServer < Server def initialize(path) Locomotive::Wagon::Logger.setup(path, false) # get the reader reader = Locomotive::Mounter::Reader::FileSystem.instance reader.run!(path: path) reader Bundler.require 'misc' # run the rack app super(reader, disable_listen: true) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems