Comments (7)
I did not test capistrano-unicorn with latest capistrano version, so it might break. There might be some changes with plugin declarations, so i'd have to look into this one. Thanks for the feedback
from capistrano-unicorn.
I've encountered this. Worked around this by setting :application
first before requiring capistrano-unicorn
:
set :application, "appname"
require "capistrano-unicorn"
Seems to be the case with multistage as well, as :stage
and default_stage
needs to be set first before a `require "capistrano/ext/multistage".
from capistrano-unicorn.
Thanks for the fix!
from capistrano-unicorn.
You guys are lifesavers thanks
from capistrano-unicorn.
That worked! Thank you, @eAiden. Does anyone know how and if capistrano-unicorn can be modified to account for the application variable in a stage versus the deploy.rb file?
from capistrano-unicorn.
This isn't fixed. Changing the order of your requires isn't a fix, it's a workaround for an existing issue.
from capistrano-unicorn.
Would also like to see a fix here.
from capistrano-unicorn.
Related Issues (20)
- mixed env of passenger servers and unicorn server fails to run `unicorn:reload' is only run for servers matching {:roles=>:unicorn, :except=>{:no_release=>true}}, but no servers matched HOT 3
- sudo: bundle: command not found, Compatible with RVM? HOT 2
- License missing from gemspec HOT 4
- Support for --no-default-middleware flag HOT 3
- Remind the developer to use absolute path if Unicorn sockets is been used.
- Detecting failed restart HOT 1
- Disable set -x debugging option HOT 1
- Cannot figure out multistage environment, unicorn_rails and -E flag
- Easy Questions
- README and NEWS files seem to be ahead of actual release HOT 1
- Not compatible with capistrano 3 HOT 1
- capistrano-unicorn with capistrano 3.x HOT 17
- problem while deploying with capistrano-unicorn HOT 6
- config.eager_load is set to nil HOT 7
- v0.2.0 failed to restart unicon due to incorrect pid file path HOT 15
- assets:precomplie bug in v0.1.10 - Namespaces#to_s HOT 1
- avoiding duplicate unicorns starting with Upstart / Init
- --- HOT 2
- Must Restart twice to see the latest codes deployed
- NoMethodError: undefined method `instance' for Capistrano::Configuration:Class HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capistrano-unicorn.