Rails 如何通过 yum 安装的包如何查看 configure 的 options

lang1pal · March 05, 2014 · Last by lang1pal replied at March 07, 2014 · 1975 hits

遇到这样一个问题,rails 开启config.threadsafe!之后,运行 task 任务出错(任务包括 nokogiri) https://twitter.com/brixen/status/293430346899394560 遇到这样的答案,现在的问题

  • 不知道如何查看系统下的 libxml 是通过 yum 安装的但是如何查看 configure 的 options
  1. yum -qa|grep libxml 确认是不是系统安装。
  2. 网上下载这个 rpm 的 source rpm 吧,再本地解压看看 spec 文件,里面有 config 的参数

#1 楼 @xds2000 谢谢,搞了很久没搞懂。后来是把 task 的 threadsafe 关的情况下跑的

You need to Sign in before reply, if you don't have an account, please Sign up first.