GithubHelp home page GithubHelp logo

Comments (16)

seuros avatar seuros commented on June 25, 2024

You have to set :pumactl_cmd and :puma_cmd if you using RVM.
Else can run rvm:hook before that task.

from capistrano-puma.

kyledecot avatar kyledecot commented on June 25, 2024

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.

kyledecot avatar kyledecot commented on June 25, 2024

Trying before 'puma:status', 'rvm:hook' gives me

/var/www/skateboxes/.rvm/scripts/set: line 15: exec: pumactl: not found

from capistrano-puma.

seuros avatar seuros commented on June 25, 2024

I think your RVM installation is wrong probably. @syntaxTerr0r is using rvm too and apparently everything work as expected.

from capistrano-puma.

kyledecot avatar kyledecot commented on June 25, 2024

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.

seuros avatar seuros commented on June 25, 2024

ok in 4 h from now. i will be in freenode in the ror channel.

from capistrano-puma.

kyledecot avatar kyledecot commented on June 25, 2024

Awesome! I really appreciate all your time and help

from capistrano-puma.

molfar avatar molfar commented on June 25, 2024

@kyledecot I'd like to see your project too. I think there no need for any rvm's hooks.

from capistrano-puma.

syntaxTerr0r avatar syntaxTerr0r commented on June 25, 2024

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.

kyledecot avatar kyledecot commented on June 25, 2024

Okay, now I'm confused. There is rvm_custom_path, AND rvm_path? Where does rvm_path come from?

from capistrano-puma.

seuros avatar seuros commented on June 25, 2024

https://github.com/capistrano/rvm/blob/master/lib/capistrano/tasks/rvm.rake line 58

from capistrano-puma.

syntaxTerr0r avatar syntaxTerr0r commented on June 25, 2024

@kyledecot yeah, i'm confused too :/ Anyway this question deserve to be asked on capistrano-rvm bug tracker...

from capistrano-puma.

kyledecot avatar kyledecot commented on June 25, 2024

capistrano/rvm#23

from capistrano-puma.

syntaxTerr0r avatar syntaxTerr0r commented on June 25, 2024

GJ!

from capistrano-puma.

seuros avatar seuros commented on June 25, 2024

@kyledecot The last version should fix this issue.

from capistrano-puma.

kyledecot avatar kyledecot commented on June 25, 2024

Fixed. Thanks!

from capistrano-puma.

Related Issues (20)

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.