untitledkingdom / mina-puma

Puma tasks for Mina
MIT License
85 stars 40 forks source link

bundle: command not found with mina 1.2.2 and mina-puma 1.1.0 #22

Open jsurrett opened 6 years ago

jsurrett commented 6 years ago

When running a mina puma:status or other puma commands, I get the following errors:

Puma status...
       bash: line 3: bundle: command not found
       Connection to edudatas.com closed.

 !     Run Error

It works properly with mina 1.0.7 and mina-puma 1.0.1.

vgsantoniazzi commented 6 years ago

Are you using rvm?

Just try something like:

task :server do
  invoke :'rvm:use', 'ruby-2.4.1@default'
  invoke :'puma:status'
end
k2m30 commented 6 years ago

Have the same issue. puma:status apparently tells me "Puma is not running!"

sunny0425 commented 6 years ago

Same issue, add invoke :'rvm:use', 'ruby-xxx' again in the launch block, then it works