Code Monkey home page Code Monkey logo

capistrano-unicorn's Introduction

๐Ÿ‘‹ Hi, Iโ€™m @sepastian.

capistrano-unicorn's People

Contributors

allomov avatar aspiers avatar astropanic avatar bmorearty avatar bobbrez avatar chip avatar docwhat avatar dtaniwaki avatar frankh avatar gekola avatar gilest avatar iamruinous avatar inbeom avatar irohiroki avatar jasiek avatar jeroenhouben avatar lidaobing avatar maxim-filimonov avatar mcrowe avatar mifix avatar mikesmullin avatar nhoffmann avatar ojab avatar pascalj avatar prognostikos avatar sepastian avatar sfsekaran avatar sosedoff avatar tonkpils avatar zacharydanger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

capistrano-unicorn's Issues

Capistrano 3.4.x: Possible bug in the no_release reject code

Hey,

today I've upgraded one of my apps from capistrano 3.3.5 to 3.4.0 and noticed that the unicorn tasks are no more executed. After tracking the issue a bit down I've found the culprit:

on roles unicorn_roles, reject: lambda { |h| h.properties.no_release } do

At the moment the :reject is passed to the roles method instead of the on.
Adding parentheses "solved" the issue for me.

...
  desc 'Start Unicorn master process'
  task :start do
-    on roles unicorn_roles, reject: lambda { |h| h.properties.no_release } do
+    on roles(unicorn_roles), reject: lambda { |h| h.properties.no_release } do
      execute start_unicorn
    end
  end
...

But I'm not sure because I don't have enough insight into capistrano's architecture.

Best, Klaus

Merge together both capistrano unicorns (unicorni?)

Before diving down this path, would it make sense to try to merge both this and @sosedoff's gems together into one for both Capistrano 2 & 3 support under one gem and namespace?

Would @sepastian and @sosedoff be ammenable to that?

My preposal would be:

  • Move capistrano 2 support under lib/capistrano/unicorn/ to model how the other Capistrano gems are modeled (i.e. Capistrano Rails, Capistrano Rbenv, etc... )
  • Implement Capistrano 2/3 detection similar to how Sidekiq and others are doing it.

"bundle: command not found" error on unicorn:start

Whenever I do cap production unicorn:start I get the following error:

DEBUG [5a1498ab]    Starting Unicorn...
DEBUG [5a1498ab]    Starting Unicorn...
DEBUG [5a1498ab]    bash: bundle: command not found

However, if I start unicorn manually then cap production unicorn:stop works as expected.

cap unicorn:start stopped working.

Hi,
I have recently updated ruby (2.2.4 -> 2.3) and every cap unicorn task stopped working.

Trace:
** Invoke bundler:map_bins (first_time)
** Execute bundler:map_bins
** Invoke unicorn:start (first_time)
** Execute unicorn:start

... and nothing happens. No unicorn was stopped/started/restarted.

I am using latest:

  • sepastian-capistrano3-unicorn
  • capistrano
  • unicorn.

Any ideas what went wrong ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.