The Joyent Community

A place where the Joyent community can gather, help each other out, and stay informed.

You are not logged in.

#1 2009-03-08 05:46:04

Garrick
Member
From: Minneapolis, MN
Registered: 2004-08-09
Posts: 54
Website  Expertise

Deploying Sinatra on a Shared Accelerator (with Lighttpd & Thin)

I spent the evening trying to deploy a tiny Sinatra-based ruby app on my Shared Accelerator.
The full write-up is on my blog:
http://garrickvanburen.com/archive/depl … -with-thin

The highlights are:
1. A config.ru file for Rack containing
[code]# PATH TO VENDOR-ED RACK AND SINATRA
require 'vendor/rack-[VERSION]/lib/rack


--
Garrick Van Buren
http://garrickvanburen.com/

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson