Skip to content

Commit

Permalink
Fix some issues in app/marley.rb file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly McLaughlin committed Oct 1, 2010
1 parent 09cadbd commit 6fd861f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/marley.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'vendor')

require 'rubygems'
require 'ftools'
require 'fileutils'
require 'yaml'
require 'sinatra'
require 'activerecord'
require 'active_record'
require 'rdiscount'
require 'akismetor'
require 'githubber'

enable :run

def load_or_require(file)
(Sinatra::Application.environment == :development) ? load(file) : require(file)
end
Expand Down

0 comments on commit 6fd861f

Please sign in to comment.