Skip to content

Commit

Permalink
event commits
Browse files Browse the repository at this point in the history
  • Loading branch information
chuk committed Mar 17, 2013
1 parent 6adaa5a commit 31f0de6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ ruby "1.9.3"
gem 'sinatra', '~> 1.3.4'
gem 'sinatra-contrib', '~> 1.3.2'
gem 'dm-core', '~> 1.2.0'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'sqlite3', '1.3.5'
gem 'dm-sqlite-adapter'
gem 'dm-validations'
gem 'dm-timestamps'
Expand Down
4 changes: 2 additions & 2 deletions event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
end

configure :development, :production do
set :datamapper_url, "sqlite3://event.sqlite3"
set :datamapper_url, "sqlite3://#{File.dirname(__FILE__)}/event.sqlite3"
end
configure :test do
set :datamapper_url, "sqlite3://event-test.sqlite3"
set :datamapper_url, "sqlite3://#{File.dirname(__FILE__)}/event-test.sqlite3"
end

before do
Expand Down

0 comments on commit 31f0de6

Please sign in to comment.