提交 08fd9a64 编写于 作者: C Carl Lerche

Remove the generated gemfile in railties tests since the rails gemfile is used.

上级 d2368278
......@@ -89,6 +89,10 @@ def build_app(options = {})
end
end
unless options[:gemfile]
File.delete"#{app_path}/Gemfile"
end
routes = File.read("#{app_path}/config/routes.rb")
if routes =~ /(\n\s*end\s*)\Z/
File.open("#{app_path}/config/routes.rb", 'w') do |f|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册