美文网首页Ruby
bunlde install 失败2019-03-19

bunlde install 失败2019-03-19

作者: Zee_jin | 来源:发表于2019-03-19 18:53 被阅读0次

新建了一个rails专案

rails new first_app

然后:cd first_app

接着:bundle install

失败,出现以下信息:

bogon:~ sujize$ cd first_app

bogon:first_app sujize$ bundle install

The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java.

Could not load OpenSSL.

You must recompile Ruby with OpenSSL support or change the sources in your

Gemfile from ‘https’ to ‘http’. Instructions for compiling with OpenSSL using

RVM are available at rvm.io/packages/openssl.

bogon:first_app sujize$

解决方法如下:

rvm reinstall 2.5.3 --with-openssl-dir=/usr/local/opt/openssl

2.5.3是当前ruby版本。

相关文章

  • bunlde install 失败2019-03-19

    新建了一个rails专案 rails new first_app 然后:cd first_app 接着:bundl...

  • glide install 失败

    glide install 失败 用gin框架当例子来测试,每次install都失败,原因都是一样,有的包出错,无...

  • pip install 失败

    一、失败原因 The directory '/Users/Library/Caches/pip/http' or ...

  • install cocoapods 失败

    sudo gem install -n /usr/local/bin/ cocoapods -v 1.3.1

  • npm install 失败

    配置环境时,npm install一直遇到同一个错误: 检查了下log,发现npm在获取patternfly依赖包...

  • pip install 失败

    参考:https://www.cnblogs.com/jiyanjiao-702521/p/9960071.htm...

  • brew install 失败

    起因:想要brew install ffmpeg,但是报错如下Version value must be a st...

  • pod install失败

    报错内容LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection...

  • npm install 失败

    2022-09-21 周三 背景:刚刚克隆项目下来安装依赖,报以下错误。 查看资料后发现安装淘宝镜像可以解决这个问...

  • npm install失败

    解决

网友评论

    本文标题:bunlde install 失败2019-03-19

    本文链接:https://www.haomeiwen.com/subject/myinmqtx.html