Navigation Menu

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

Commit

Permalink
Enable deployment with both mysql & postgres gem #355
Browse files Browse the repository at this point in the history
Shellycloud deployment will go postal if there is no 'pg' gem in our
Gemfile, so we'll switch to postgres in our live environment and leave
the development environment with MySQL until #364 is resolved.
  • Loading branch information
bascht committed Apr 13, 2014
1 parent 783c753 commit c77aec1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Gemfile
Expand Up @@ -5,9 +5,6 @@ gem 'rake', '~> 10.1.1'

gem 'thin', '~> 1.6.1'

# Databases
gem 'mysql2', '~> 0.3.13'

# Memcache Store
# DO NOT UPGRADE THIS
# We need exactly this version, because
Expand Down Expand Up @@ -127,6 +124,8 @@ group :development do
end

group :test, :development do
# Use MySQL for local setups + travis (as long as #364 is open)
gem 'mysql2', '~> 0.3.13'
gem 'database_cleaner', '1.2.0'
gem 'rspec-rails', '~> 3.0.0.beta1'
gem 'factory_girl_rails', '~> 4.2'
Expand All @@ -139,6 +138,8 @@ group :test, :development do
end

group :production do
# Move pg gem to global block, once we're done with #364
gem 'pg', '~> 0.17.1'
gem 'shelly-dependencies'
end

Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Expand Up @@ -279,6 +279,7 @@ GEM
multi_json (~> 1.3)
omniauth-oauth (~> 1.0)
orm_adapter (0.5.0)
pg (0.17.1)
polyamorous (0.6.4)
activerecord (>= 3.0)
polyglot (0.3.4)
Expand Down Expand Up @@ -482,6 +483,7 @@ DEPENDENCIES
omniauth (~> 1.1.3)
omniauth-github (~> 1.1.0)
omniauth-twitter (~> 1.0.1)
pg (~> 0.17.1)
pry-rails
quiet_assets (~> 1.0.2)
rails (~> 4.0.3)
Expand Down

0 comments on commit c77aec1

Please sign in to comment.