Skip to content
Permalink
12b5e3681b
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
17 lines (12 sloc) 315 Bytes
require 'rubygems'
require 'bundler'
Bundler.require
### Enable persistent sessions using moneta ###
require 'moneta'
require 'rack/session/moneta'
use Rack::Session::Moneta,
expire_after: 259200000,
store: Moneta.new(:Sqlite, file: "sessions.db")
###
require './server.rb'
run Sinatra::Application.new