Deploy ruby on rails via Capistrano -


i have deployed ruby on rails application ubuntu 14.04 virtual machine in digital ocean. used apache2 , passenger same.

now want deploy same using capistrano. using mac machine in developer environment. have installed capistrano 3.4. ssh connection has been set local machine , server server , mercurial version control system in bitbucket.

how can deploy via capistrano. tried many tutorials. many outdated , not close. have deployed in server in uat environment , source code checked out , kept in desktop of server. have set user sudo privileges.mysql2 database in same server.please me out .

you can see gist here, there 4 files

  • deploy.rb
  • production.rb
  • capfile
  • gemfile // capistrano required gem snippet

but i've configured using nginx , passenger.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -