iiewad
(iewad)
1
require 'sshkey'
remote = 'git@github.com:private/theme_name.git' # Private Github repo for discourse theme
theme_user = Discourse.system_user
private_key = SSHKey.generate.private_key
branch = 'main'
RemoteTheme.import_theme(remote, theme_user, private_key: private_key, branch: branch)
Errno::ENOENT: No such file or directory - timeout
from /Users/foo/.rbenv/versions/2.7.2/lib/ruby/2.7.0/open3.rb:213:in `spawn'`
→
I found mac is not support the timeout
command
sam
(Sam Saffron)
2
try brew install coreutils
1 Like
iiewad
(iewad)
3
Thanks, I can resolve it with coreutils
. I think need throw this error, and try to give a much better error remind!