Skip to content

Commit

Permalink
making check-oa work on Site5 with Sinatra/Passenger
Browse files Browse the repository at this point in the history
  • Loading branch information
houshuang committed Feb 6, 2013
1 parent 4fb0688 commit fd3db80
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion check-oa/config.ru
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
ENV['GEM_PATH'] = "/home/houshuan/gems:/usr/lib/ruby/gems/1.8"
ENV['GEM_HOME'] = "/home/houshuan/gems"
Gem.clear_paths
#$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'check-oa'

run CheckOA
Expand Down
4 changes: 4 additions & 0 deletions check-oa/public/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PassengerEnabled on
RackBaseURI /home/houshuan/public_html/folders2web/check-oa
PassengerAppRoot /home/houshuan/public_html/folders2web/check-oa

Empty file added check-oa/tmp/restart.txt
Empty file.

0 comments on commit fd3db80

Please sign in to comment.