Skip to content
Browse files

Gemfile setup for heroku

* Specify Ruby 2.0.0 for Heroku
* Scope sqlite in Gemfile to dev, pg to prod
* Run bundle install --without production locally to set Gemfile.lock
  • Loading branch information...
1 parent 18f11f3 commit 9558afd3750cdfcf7fdbd3bbcca1c4f893b679be Andy Zhang committed Mar 22, 2013
Showing with 10 additions and 1 deletion.
  1. +8 −1 Gemfile
  2. +2 −0 Gemfile.lock
View
9 Gemfile
@@ -1,9 +1,16 @@
source 'https://rubygems.org'
+ruby '2.0.0'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0.beta1'
-gem 'sqlite3'
+group :development do
+ gem 'sqlite3'
+end
+
+group :production do
+ gem 'pg'
+end
# Gems used only for assets and not required
# in production environments by default.
View
2 Gemfile.lock
@@ -54,6 +54,7 @@ GEM
mime-types (1.21)
minitest (4.7.0)
multi_json (1.7.2)
+ pg (0.14.1)
polyglot (0.3.3)
rack (1.5.2)
rack-test (0.6.2)
@@ -116,6 +117,7 @@ DEPENDENCIES
coffee-rails (~> 4.0.0.beta1)
jbuilder (~> 1.0.1)
jquery-rails
+ pg
rails (= 4.0.0.beta1)
sass-rails (~> 4.0.0.beta1)
sqlite3

0 comments on commit 9558afd

Please sign in to comment.
Something went wrong with that request. Please try again.