Tag: 自制

Brew更新失败:未跟踪的工作树文件将被合并覆盖

试图更新自酿brew update我得到了以下错误 error: The following untracked working tree files would be overwrittenby merge: Library/Formula/argp-standalone.rb Library/Formula/cocot.rb Please move or remove them before you can merge. Aborting Updating e088818..5909e2c Error: Failed while executing git pull origin refs/heads/master:refs/remotes/origin/master 我find了一个安装了Mountain Lion之后遇到类似问题的博客文章(我也是这周做的)。 他解释了他如何删除错误信息中提到的文件 I removed these files: $ cd $(brew –prefix) $ rm cocot.rb However, removing these files didn't help […]

gemeventmachine致命错误:找不到“openssl / ssl.h”文件

刚安装了El Capitan,不能安装gemeventmachine 1.0.7 。 openssl在1.0.2a-1 。 试图使用–with-ssl-dir但似乎被忽略。 也报告给他们的github回购 。 任何build议真的很感激。 谢谢。 $ ls /usr/local/Cellar/openssl/1.0.2a-1/include/openssl/ssl.h /usr/local/Cellar/openssl/1.0.2a-1/include/openssl/ssl.h $ gem install eventmachine -v '1.0.7' — –with-ssl-dir=/usr/local/Cellar/openssl/1.0.2a-1/include /Users/pain/.rbenv/versions/2.1.2/bin/ruby -r ./siteconf20150612-56154-1hsjz2n.rb extconf.rb –with-ssl-dir=/usr/local/Cellar/openssl/1.0.2a-1/include checking for rb_trap_immediate in ruby.h,rubysig.h… no checking for rb_thread_blocking_region()… yes checking for ruby/thread.h… yes checking for rb_thread_call_without_gvl() in ruby/thread.h… yes checking for inotify_init() in sys/inotify.h… no checking […]