public
Description: A pastebin running on Ramaze and Sequel using Coderay or Ultraviolet for highlighting
Homepage: http://p.ramaze.net
Clone URL: git://github.com/manveru/rapaste.git
rapaste / config.ru
100755 17 lines (15 sloc) 0.558 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env rackup
#
# config.ru for ramaze apps
# use thin >= 1.0.0
# thin start -R config.ru
#
# rackup is a useful tool for running Rack applications, which uses the
# Rack::Builder DSL to configure middleware and build up applications easily.
#
# rackup automatically figures out the environment it is run in, and runs your
# application as FastCGI, CGI, or standalone with Mongrel or WEBrick -- all from
# the same configuration.
 
require File.expand_path('start', File.dirname(__FILE__))
Ramaze.start(:file => __FILE__, :started => true)
run Ramaze