如何在运行 $ rake 后获得输出,并避免 rake 中止! `块在<top (required)>'

问题描述 投票:0回答:0

按照 https://gitimmersion.com/lab_21.html 中指定的步骤进行操作后,git 中的输出如下:

rake aborted!
LoadError: cannot load such file -- ./lib/hello      
.../lib/Rakefile.rb:6:in `block in <top (required)>'
Tasks: TOP => default => run
(See full trace by running task with --trace)

想问一下如何在运行 $ rake 后得到想要的输出

ruby rake
© www.soinside.com 2019 - 2024. All rights reserved.