Skip to content

Commit

Permalink
Group database adaptors mysql/postgresql/sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
stbuehler committed Aug 17, 2013
1 parent 2cf73f1 commit 4c0641f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,17 @@ group :assets do
gem 'uglifier', '>= 1.0.3'
end

gem 'mysql2'
# gem 'pg'
group :mysql do
# adapter: mysql2
gem 'mysql2'
end

group :postgres do
# adapter: postgresql
gem 'pg'
end

group :sqlite do
# adapter: sqlite3
gem 'sqlite3'
end
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ GEM
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
orm_adapter (0.0.7)
pg (0.16.0)
polyglot (0.3.3)
rack (1.3.10)
rack-cache (1.2)
Expand Down Expand Up @@ -171,6 +172,7 @@ GEM
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.7)
thor (0.14.6)
tilt (1.3.7)
treetop (1.4.14)
Expand Down Expand Up @@ -208,11 +210,13 @@ DEPENDENCIES
launchy
mysql2
nokogiri
pg
rack (~> 1.3.10)
rails (= 3.1.12)
rspec-rails (~> 2.4)
sass-rails (~> 3.1.5)
schema_plus
spork (= 0.9.0.rc9)
sqlite3
uglifier (>= 1.0.3)
will_paginate (~> 3.0.pre4)

0 comments on commit 4c0641f

Please sign in to comment.