Sha256: 530c534ebc747a6bd1deefefa5596b4fa32aea5f4ac4d58bba51c074a3f8c86c

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.setup
require 'ferver'

def main

    # use the first argument as the file path to serve from
    ferver_path = (ARGV.length == 1 && ARGV[0]) || nil
    Ferver::App.set :ferver_path, ferver_path

    # run!
    Ferver::App.run!

end


if __FILE__ == $0
    main()
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ferver-1.0.0 run.rb