This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix rackup file

  • Loading branch information...
bleything committed Feb 1, 2009
1 parent a19bfcd commit 95697e729b08c35acd5115a6564d83b270ef17cd
Showing with 4 additions and 8 deletions.
  1. +4 −8 config.ru
View
@@ -1,13 +1,9 @@
require 'rubygems'
require 'sinatra'
+
+set :env, :production
+disable :run
-root_dir = File.dirname(__FILE__)
-
-Sinatra::Application.default_options.merge!(
- :views => File.join(root_dir, 'views'),
- :app_file => File.join(root_dir, 'applette.rb'),
- :run => false,
- :env => ENV['RACK_ENV'].to_sym
-)
+require 'applette'
run Sinatra.application

0 comments on commit 95697e7

Please sign in to comment.