From 28b6e276f851753a61de9af6d48f997ead5f55fb Mon Sep 17 00:00:00 2001 From: Jonne Hass Date: Sun, 11 Sep 2011 13:07:39 +0200 Subject: [PATCH] added possibility to install all database gems MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …via DB=all bundle install, useful for development --- Gemfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index f21b7be1e..fa5ec788a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,8 +1,8 @@ source 'http://rubygems.org' -gem 'mysql2', '0.2.6' if ENV['DB'].nil? || ENV['DB'] == "mysql" -gem 'pg' if ENV['DB'] == "postgres" -gem 'sqlite3' if ENV['DB'] == "sqlite" +gem 'mysql2', '0.2.6' if ENV['DB'].nil? || ENV['DB'] == 'all' || ENV['DB'] == "mysql" +gem 'pg' if ENV['DB'] == 'all' || ENV['DB'] == "postgres" +gem 'sqlite3' if ENV['DB'] == 'all' || ENV['DB'] == "sqlite" gem 'rails', '3.0.10' gem 'foreigner', '0.9.1' gem 'activerecord-import'