Permalink
Browse files

Prepare to run on heroku

  • Loading branch information...
1 parent 40bc3ad commit 32d6d69c1232793e6d7ea51a1c6d0e4fe86f102b @piotrj piotrj committed Nov 29, 2011
Showing with 19 additions and 1 deletion.
  1. +8 −1 Gemfile
  2. +9 −0 Gemfile.lock
  3. +2 −0 Procfile
View
@@ -5,7 +5,6 @@ gem 'rails', '3.1.3'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
-gem 'sqlite3'
gem 'devise'
gem 'omniauth'
gem 'omniauth-oauth2'
@@ -39,3 +38,11 @@ group :test do
gem 'turn', '~> 0.8.3', :require => false
end
+group :development do
+ gem 'sqlite3'
+end
+
+group :production do
+ gem 'pg'
+ gem 'thin'
+end
View
@@ -41,11 +41,13 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.1.3)
+ daemons (1.1.4)
devise (1.5.1)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.0.3)
warden (~> 1.1)
erubis (2.7.0)
+ eventmachine (0.12.10)
execjs (1.2.9)
multi_json (~> 1.0)
faraday (0.7.5)
@@ -82,6 +84,7 @@ GEM
oauth2 (~> 0.5.0)
omniauth (~> 1.0)
orm_adapter (0.0.5)
+ pg (0.11.0)
polyglot (0.3.3)
rack (1.3.5)
rack-cache (1.1)
@@ -121,6 +124,10 @@ GEM
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.4)
+ thin (1.3.1)
+ daemons (>= 1.0.9)
+ eventmachine (>= 0.12.6)
+ rack (>= 1.0.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
@@ -145,8 +152,10 @@ DEPENDENCIES
jquery-rails
omniauth
omniauth-oauth2
+ pg
rails (= 3.1.3)
sass-rails (~> 3.1.5)
sqlite3
+ thin
turn (~> 0.8.3)
uglifier (>= 1.0.3)
View
@@ -0,0 +1,2 @@
+web: bundle exec rails server thin -p $PORT
+

0 comments on commit 32d6d69

Please sign in to comment.