MacBookでプライベートなDiscourseテーマリポジトリをインポートする

require 'sshkey'
remote = 'git@github.com:private/theme_name.git' # Discourseテーマ用のプライベートGitHubリポジトリ
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'`

-=>

macではtimeoutコマンドがサポートされていないことがわかりました

brew install coreutils を試してください

「いいね!」 2

coreutilsで解決できます。このエラーはスローし、より良いエラーリマインダーを提供するべきだと思います!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.