Permalink
Browse files

Added a config.ru file.

  • Loading branch information...
1 parent 4f72c80 commit 8955265584ab90e576fc0f8ab1b233b68388a1af @postmodern committed Dec 29, 2009
Showing with 10 additions and 0 deletions.
  1. +1 −0 Manifest.txt
  2. +9 −0 config.ru
View
@@ -3,6 +3,7 @@ History.rdoc
Manifest.txt
README.rdoc
Rakefile
+config.ru
bin/wsoc
lib/wsoc.rb
lib/wsoc/helpers.rb
View
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+$LOAD_PATH.unshift ::File.expand_path(::File.join(::File.dirname(__FILE__),'lib'))
+
+require 'rubygems'
+require 'wsoc/app'
+
+WSOC::App.set :environment, (ENV['RACK_ENV'] || :production)
+
+run WSOC::App

0 comments on commit 8955265

Please sign in to comment.