提交 1f6b0a55 编写于 作者: P Prem Sichanugrist 提交者: José Valim

[CI] Remove RailTies temporary directory on every run

There was an error on CI regarding unable to require `arel` gem from source when testing application build for a while ago. It seems to me like there's a permission problem on the process of cloning the application and removing Gemfile. This would make sure that the temporary application got removed every time the build is run.
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
上级 b17b980a
...@@ -38,6 +38,7 @@ def rake(*tasks) ...@@ -38,6 +38,7 @@ def rake(*tasks)
# build_results[:activesupport_isolated] = rake 'test:isolated' # build_results[:activesupport_isolated] = rake 'test:isolated'
end end
system "sudo rm -R #{root_dir}/railties/tmp"
cd "#{root_dir}/railties" do cd "#{root_dir}/railties" do
puts puts
puts "[CruiseControl] Building RailTies" puts "[CruiseControl] Building RailTies"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册