When trying to open a remote console, the terminal hangs:
$ mina server:console -f config/deploy_production.rb
-----> Loading rbenv
Running via Spring preloader in process 29824
Loading production environment (Rails 5.0.0.beta3)
Looking at the processes from a separate SSH console shows that the console is actually running:
But I don't see the console prompt. Unlike the old 'queue', the new 'command' doesn't seem to allow for interaction.
If I terminate mina with Ctrl-C:
^C
-----> Mina: SIGINT received.
Killed by signal 2.
irb(main):001:0>
! Run Error
The console seems to have been waiting for input, but none was passed to it.
The relevant section in config/deploy_production.rb:
namespace :server do
desc 'Run Rails console'
task :console do
invoke :'rbenv:load'
in_path "#{fetch(:current_path)}" do
command %{#{fetch(:rails)} console production}
end
end
end
Hi there,
When trying to open a remote console, the terminal hangs:
Looking at the processes from a separate SSH console shows that the console is actually running:
But I don't see the console prompt. Unlike the old 'queue', the new 'command' doesn't seem to allow for interaction.
If I terminate mina with Ctrl-C:
The console seems to have been waiting for input, but none was passed to it.
The relevant section in config/deploy_production.rb:
Any suggestions?