seuros / capistrano-puma

Puma integration for Capistrano
https://github.com/seuros/capistrano-puma
MIT License
615 stars 299 forks source link

Does not work with Ruby 2.6.3 #289

Closed Qqwy closed 3 years ago

Qqwy commented 5 years ago

On Ruby 2.6.3, following the steps in the README exactly, and even using projects that were able to build on earlier ruby versions, I get a NameError: Constant not defined Capistrano::Puma upon attempting to call cap production deploy.

lalusaud commented 4 years ago

Same here. Got this with ruby 2.6.2.

(Backtrace restricted to imported tasks) cap aborted! NameError: uninitialized constant Capistrano::Puma /xx/xxx/Capfile:11:in '<top (required)>' (See full trace by running task with --trace)

Works with ruby 2.6.1 though.

tripledub commented 4 years ago

@lalusaud what OS are you using? It does not work for me on MacOS 10.15.3, but if I open up my project in Vagrant (Xenial) all is good. In both cases I'm using rbenv ruby ruby 2.6.5

danieldraper commented 3 years ago

Related to https://github.com/seuros/capistrano-puma/issues/291 still happening in Ruby 2.6.6