Deploying with JRuby (for Greg Kennedy)

Deploying with JRuby (for Greg Kennedy)

Author:Joe Kutner
Language: eng
Format: epub
Tags: Pragmatic Bookshelf
ISBN: 978-1-934356-97-5
Publisher: The Pragmatic Bookshelf, LLC (365754)


​​​​

​​namespace :deploy do​​

​​ task :install_bundler, :roles => :app do​​

​​ run "sudo gem install bundler"​​

​​ end​​

​​end​​

Next, we need to add a task that tells Capistrano how to start our server using the /etc/init.d/trinidad script that was created in Section 5.2, ​Installing Trinidad as a Service​. Add the following code to the :deploy namespace block:

Trinidad/twitalytics/config/deploy.rb

​​task :start, :roles => :app do​​



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.