Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Commit

Permalink
merged
Browse files Browse the repository at this point in the history
  • Loading branch information
flexd committed Apr 16, 2011
2 parents 62f438a + cc6f960 commit 634411f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ gem "sinatra", ">=1.0"
gem "bson_ext"
gem "mongoid", "2.0.0.beta.17"
gem 'sinatra-mongoid-config', :git => "git://github.com/flexd/sinatra-mongoid-config.git"
gem 'sinatra-cache'
gem "rspec"
gem "rack-test"
gem "haml"
Expand Down
3 changes: 0 additions & 3 deletions application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
configure do
set :views, "#{File.dirname(__FILE__)}/views"
set :root, File.dirname(__FILE__)
set :cache_enabled, false
set :cache_output_dir, Proc.new { File.join(root, 'tmp', 'cache') }
set :cache_logging_level, :debug
end

error do
Expand Down
2 changes: 0 additions & 2 deletions environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
require 'sinatra' unless defined?(Sinatra)
require 'sinatra-mongoid-config'
require 'sinatra/redirect_with_flash'
require 'sinatra/cache'
require 'resque'
require 'carrierwave'
require 'pp'
Expand Down Expand Up @@ -37,6 +36,5 @@
#DataMapper.setup(:default, "postgres://civ5replays_production:[email protected]/civ5replays_#{Sinatra::Base.environment}")
#DataMapper.setup(:default, (ENV["DATABASE_URL"] || "sqlite3:///#{File.expand_path(File.dirname(__FILE__))}/#{Sinatra::Base.environment}.db"))
use Rack::Flash
enable :sessions

end

0 comments on commit 634411f

Please sign in to comment.