Comments (16)
You have to set :pumactl_cmd and :puma_cmd if you using RVM.
Else can run rvm:hook before that task.
from capistrano-puma.
I previously tried this but this gives me
DEBUG [54af7937] Running if test ! -d /var/www/skateboxes/current; then echo "Directory does not exist '/var/www/skateboxes/current'" 1>&2; false; fi on 162.243.33.179
DEBUG [54af7937] Command: if test ! -d /var/www/skateboxes/current; then echo "Directory does not exist '/var/www/skateboxes/current'" 1>&2; false; fi
DEBUG [54af7937] Finished in 0.701 seconds with exit status 0 (successful).
INFO [a71ff5e1] Running bundle exec pumactl -S /var/www/skateboxes/shared/tmp/pids/puma.state status on 162.243.33.179
DEBUG [a71ff5e1] Command: bundle exec pumactl -S /var/www/skateboxes/shared/tmp/pids/puma.state status
DEBUG [a71ff5e1] bash: bundle: command not found
from capistrano-puma.
Trying before 'puma:status', 'rvm:hook'
gives me
/var/www/skateboxes/.rvm/scripts/set: line 15: exec: pumactl: not found
from capistrano-puma.
I think your RVM installation is wrong probably. @syntaxTerr0r is using rvm too and apparently everything work as expected.
from capistrano-puma.
I completely removed RVM and then reinstalled it per RMV's instructions which logged in as the deploy
user. I have no clue how to debug his. Any ideas? We could always use something like http://screenhero.com/ so you can see my setup for yourself
from capistrano-puma.
ok in 4 h from now. i will be in freenode in the ror channel.
from capistrano-puma.
Awesome! I really appreciate all your time and help
from capistrano-puma.
@kyledecot I'd like to see your project too. I think there no need for any rvm's hooks.
from capistrano-puma.
I get the same issue with my system-wide RVM install.
The variable :rvm_custom_path
provided by the capistrano-rvm gem didn't worked for me, so I cheated by redefining set :rvm_path, '/usr/local/rvm'
in my config/deploy/STAGE.rb. Anyway if you get a better solution, I take it :)
from capistrano-puma.
Okay, now I'm confused. There is rvm_custom_path
, AND rvm_path
? Where does rvm_path
come from?
from capistrano-puma.
https://github.com/capistrano/rvm/blob/master/lib/capistrano/tasks/rvm.rake line 58
from capistrano-puma.
@kyledecot yeah, i'm confused too :/ Anyway this question deserve to be asked on capistrano-rvm bug tracker...
from capistrano-puma.
from capistrano-puma.
GJ!
from capistrano-puma.
@kyledecot The last version should fix this issue.
from capistrano-puma.
Fixed. Thanks!
from capistrano-puma.
Related Issues (20)
- Why does Capistrano not launch my Rails app itself? Why do I need capistrano-puma gem? HOT 1
- `cap production puma:config` results in `Don't know how to build task 'puma:config'` HOT 1
- `Failed to get D-Bus connection: No such file or directory` when trying to deploy HOT 11
- Puma 6.x HOT 4
- Permission denied with puma_access.log HOT 11
- Couple of issues with 6.0.beta HOT 2
- puma:restart service not found during deploy HOT 4
- Multiple X-Forwarded-Proto headers causing issues HOT 1
- WatchdogSec causes error when using Type=simple HOT 2
- Deploying a new app to a staging server won't start/restart puma/systemd HOT 3
- support for Puma v6.0 and upwards HOT 1
- release 5.x with support for Puma v6.0 HOT 1
- v6.0.0.beta.1 breaks Nginx functionality HOT 2
- Failed with result 'watchdog'. HOT 2
- capistrano doesn't support puma:stop task HOT 1
- When 6.0 GA? HOT 1
- after gem updates deploy fails with can't find service HOT 1
- Release 6.0.0 HOT 4
- Capistrano Puma Not Starting HOT 3
- WatchdogSec should be configurable
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-puma.