小编Cha*_*avy的帖子

无法要求openssl,安装OpenSSL并重建ruby(首选)或使用非HTTPS源

我正在尝试安装jekyll,但我遇到了一个错误.我正在运行Mac OS X 10.11.4(El Capitan).

$gem install jekyll
ERROR : While executing gem ... (Gem::Exception)
        Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
$gem source -l
https://ruby.taobao.org
$which openssl
/usr/local/bin/openssl
Run Code Online (Sandbox Code Playgroud)

我欢迎您提出如何解决此错误的建议.

macos rubygems

53
推荐指数
4
解决办法
3万
查看次数

您没有对/Library/Ruby/Gems/2.3.0目录的写许可权

当我gem install bundler在MacOS 10.13.x中使用命令时,错误是You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.

$ gem install bundler
Fetching: bundler-1.16.2.gem (100%)
ERROR:  While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
Run Code Online (Sandbox Code Playgroud)

macos bundle rubygems

11
推荐指数
3
解决办法
5401
查看次数

我想在Docker容器上执行mongoimport

我用Docker开发.

docker exec -it <My-Name> mongo

我想从JSON文件将数据导入MongoDB,但它失败了.

命令是

mongoimport -d <db-name> -c <c-name> --file xxx.json

我能做什么?

macos mongodb docker

7
推荐指数
3
解决办法
4551
查看次数

MacOS 10.13.3 的 CMake 编译器标识未知

我想通过 cmake 构建 llvm,

我使用cmake -G Xcode ../llvm -DCMAKE_BUILD_TYPE:STRING=MinSizeRel.

但我有麻烦了。

错误日志是:

CMake Deprecation Warning at CMakeLists.txt:14 (cmake_policy):
  The OLD behavior for policy CMP0051 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

-- The …
Run Code Online (Sandbox Code Playgroud)

macos compiler-errors cmake

4
推荐指数
1
解决办法
2756
查看次数

标签 统计

macos ×4

rubygems ×2

bundle ×1

cmake ×1

compiler-errors ×1

docker ×1

mongodb ×1