Skip to content

Commit

Permalink
Use foreman for starting Redis and webapp processes.
Browse files Browse the repository at this point in the history
The current Procfile assumes that redis-server is accessible via $PATH.
  • Loading branch information
David Yip committed Feb 21, 2012
1 parent 4909903 commit 78394cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -12,6 +12,7 @@ gem 'pg'

gem 'exception_notification', :require => 'exception_notifier'
gem 'ransack'
gem 'foreman'
gem 'foreigner'

group :assets do
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Expand Up @@ -197,6 +197,9 @@ GEM
ffi (1.0.11)
foreigner (1.1.1)
activerecord (>= 3.0.0)
foreman (0.39.0)
term-ansicolor (~> 1.0.7)
thor (>= 0.13.6)
formtastic (1.2.4)
actionpack (>= 2.3.7)
activesupport (>= 2.3.7)
Expand Down Expand Up @@ -422,6 +425,7 @@ DEPENDENCIES
faraday
fastercsv
foreigner
foreman
formtastic (= 1.2.4)
guard
guard-bundler
Expand Down
2 changes: 2 additions & 0 deletions Procfile
@@ -0,0 +1,2 @@
redis: redis-server
web: bundle exec rails server

0 comments on commit 78394cd

Please sign in to comment.