mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-18 05:08:09 +01:00
Joyent hasn't upgraded their gem yet, and for many users this could be a major installation pitfall. Rails is vendored, so why can't it boot? Rack? What's that?
8 lines
160 B
Ruby
8 lines
160 B
Ruby
require 'rack/lobster'
|
|
|
|
use Rack::ShowExceptions
|
|
use Rack::Auth::Basic, "Lobster 2.0" do |username, password|
|
|
'secret' == password
|
|
end
|
|
|
|
run Rack::Lobster.new
|