Skip to content

Commit

Permalink
Support for Ruby 1.9.x (thanks flexd!)
Browse files Browse the repository at this point in the history
  • Loading branch information
zapnap committed Nov 25, 2010
1 parent c291ca3 commit eb0d5ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion application.rb
@@ -1,6 +1,7 @@
require 'rubygems'
require 'bundler/setup'
require 'sinatra'
require 'environment'
require_relative 'environment'

configure do
set :views, "#{File.dirname(__FILE__)}/views"
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -10,7 +10,7 @@
Sinatra::Base.set :raise_errors, true
Sinatra::Base.set :logging, false

require 'application'
require File.join(File.dirname(__FILE__), '../application')

# establish in-memory database for testing
DataMapper.setup(:default, "sqlite3::memory:")
Expand Down

0 comments on commit eb0d5ad

Please sign in to comment.