Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Ruby 脚本,它使用一个外部库。有时脚本会因分段错误而退出,当使用此库时,我必须重新运行它。是否有可能通过提取具有危险代码来分离进程或类似的东西的片段来以某种方式挽救这个错误?
谢谢
您可以使用neversaydie gem 来挽救分段错误。