Browse files

add capfile

  • Loading branch information...
1 parent b9efd03 commit c1deb0639071454df7360f45c1c751653f8a17be @alx committed Jul 13, 2011
Showing with 6 additions and 0 deletions.
  1. +4 −0 json_server/Capfile
  2. +2 −0 json_server/config/deploy.rb
View
4 json_server/Capfile
@@ -0,0 +1,4 @@
+load 'deploy' if respond_to?(:namespace) # cap2 differentiator
+Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
+
+load 'config/deploy' # remove this line to skip loading any of the default tasks
View
2 json_server/config/deploy.rb
@@ -19,6 +19,8 @@
server domain, :app, :web
role :db, domain, :primary => true
+default_run_options[:pty] = true
+
# if you're still using the script/reaper helper you will need
# these http://github.com/rails/irs_process_scripts

0 comments on commit c1deb06

Please sign in to comment.