尝试在命令行中运行“ ml upgrade --branch=master
”以升级roxy 1.7.3以获得最新版本的roxy时出现错误。
错误:没有这样的文件或目录@ rb_sysopen-C:/ Users / RKAR / AppData / Lo cal / Temp / 2 / d20180814-3552-126w2go / CHANGELOG.mdown
错误:[“ C:/Ruby25-x64/lib/ruby/2.5.0/fileutils.rb:1291:in
initialize'", "C:/Ru by25-x64/lib/ruby/2.5.0/fileutils.rb:1291:in
open'”,“ C:/ Ruby25-x64 / lib / ruby / 2。 5.0 / fileutils.rb:1291:incopy_file'", "C:/Ruby25-x64/lib/ruby/2.5.0/fileutils.r b:432:in
copy_file'“,” C:/Ruby25-x64/lib/ruby/2.5.0/fileutils.rb:359:inblock in cp'", "C:/Ruby25-x64/lib/ruby/2.5.0/fileutils.rb:1463:in
中的fu_each_sr中的块 c_dest'“,” C:/Ruby25-x64/lib/ruby/2.5.0/fileutils.rb:1477:infu_each_src_dest0' ", "C:/Ruby25-x64/lib/ruby/2.5.0/fileutils.rb:1461:in
fu_each_src_dest'“,” C:/ R 在cp'", "C:/sample/Branch_phase2 /Branch_phase2/ml-services/mml-cms-app/deploy/lib/upgrader.rb:47:in
升级中的uby25-x64 / lib / ruby / 2.5.0 / fileutils.rb:358: _base'“,” C:/ sample / Branch_phase2 / Branch_phase2 / ml-services / mml-cms-app / deploy / lib / upgrader.rb:77:inupgrade'", "deploy/lib/ml.rb:127:in
'“]
答案 0 :(得分:2)
我认为您正在击中https://github.com/marklogic-community/roxy/issues/802。解决方法是在运行升级之前更改CHANGELOG文件的扩展名。
HTH!