2017-11-16 6 views
0

ruby 2.4.1 on windows 10をインストールするにはruby installer rubyinstaller-2.4.1-2-x64.exeを使用しています。それは成功し、インストールの最後にMSYS2インストールがトリガーされます。それはまた成功です。しかし、MSYS2 system updateは次のエラーで失敗します。企業プロキシ内のウィンドウにRuby 2.4.1をインストールします。 MSYS2のアップデートに失敗しました

mingw32.sig  96.0 B 93.8K/s 00:00 [#######################################] 100% 
error: mingw32: signature from "Alexey Pavlov (Alexpux) <[email protected]>" is invalid 
error: failed to update mingw32 (invalid or corrupted database (PGP signature)) 

これを解決するための回避策はありますか?

注:同じインストールパッケージが私のホームネットワークで完全に機能します。だから私はそれが企業のファイアウォールと関係があると思う。

+2

あなたはファイル自体のリンクを更新しました – gates

+1

@gatesをリンクむしろ、インストールされている場所からダウンロードリンクを与える気にしてください。 https://rubyinstaller.org/downloads/archives/ – Muthukumar

答えて

0

私は何とかして、さまざまなSOの回答を通って動作させました。以下は、動作させた一連のアクションです。 ENV変数で

  1. 設定プロキシ

    setx http_proxy="http://proxy.server.address:port" setx https_proxy="http://proxy.server.address:port" setx ftp_proxy="http://proxy.server.address:port" setx rsync_proxy="http://proxy.server.address:port"

  2. はCからすべてのファイルを削除します:\ msys64 \ VAR \ libに\パックマン\同期

  3. オープンC:\ msys64 \にMinGW64 .exeを実行してコマンドを実行します。pacman -Syy

  4. pacmanが現在動作しているので、元のruby installer 2プロセスに変更されました。出来た!

    ridk install

    1 - MSYS2 base installation - Completed Already 2 - MSYS2 system update -Successful now after proxy update 3 - MSYS2 and MINGW development toolchain -Successful now after proxy update

関連する問題