Permalink
Browse files

Slight changes to support some Dreamhost-specific garbage, sigh

  • Loading branch information...
1 parent 6c3ed2c commit ca144acae6b943fa5f56079f955068b6067329c8 @konklone konklone committed Mar 25, 2010
Showing with 9 additions and 2 deletions.
  1. +1 −1 .gitignore
  2. +1 −1 Rakefile
  3. 0 config.ru.example → config.ru
  4. +1 −0 environment.rb
  5. +6 −0 ohnomymoney.rb
View
@@ -2,4 +2,4 @@
/*.sqlite3
/updater/buxfer.yml
/tmp
-/config.ru
+/dreamhost.rb
View
@@ -40,7 +40,7 @@ end
desc 'Loads environment'
task :environment do
- require 'ohnomymoney'
+ require 'environment'
end
File renamed without changes.
View
@@ -1,4 +1,5 @@
require 'rubygems'
+require 'sinatra'
require 'active_record'
require 'models'
View
@@ -1,5 +1,11 @@
#!/usr/bin/env ruby
+# Dreamhost has some special...I don't want to talk about it
+begin
+ require 'dreamhost'
+rescue LoadError
+end
+
require 'rubygems'
require 'sinatra'
require 'environment'

0 comments on commit ca144ac

Please sign in to comment.