rubyで現在のバージョンから2.0.0-p247 を使用したかったのでrbenv install 2.0.0-p247と記述してインストールしようとしたのですがこのようなエラーが出てしまいどうしたらいいか全くわかりません。これは一体どういうことなのか。どうやったら解決できるのかが知りたいです。
ruby
1Downloading yaml-0.1.6.tar.gz... 2-> https://dqw8nmjcqpjn7.cloudfront.net/7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749 3Installing yaml-0.1.6... 4Installed yaml-0.1.6 to /home/vagrant/.rbenv/versions/2.0.0-p247 5 6Downloading ruby-2.0.0-p247.tar.bz2... 7-> https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.bz2 8Installing ruby-2.0.0-p247... 9 10WARNING: ruby-2.0.0-p247 is past its end of life and is now unsupported. 11It no longer receives bug fixes or critical security updates. 12 13 14BUILD FAILED (CentOS release 6.8 (Final) using ruby-build 20170523-25-g476d09b) 15 16Inspect or clean up the working tree at /tmp/ruby-build.20170702023741.18938 17Results logged to /tmp/ruby-build.20170702023741.18938.log 18 19Last 10 log lines: 20ossl_pkey_ec.c:766: 警告: implicit declaration of function ‘EC_GF2m_simple_method’ 21ossl_pkey_ec.c:766: 警告: assignment makes pointer from integer without a cast 22ossl_pkey_ec.c:821: error: ‘EC_GROUP_new_curve_GF2m’ undeclared (first use in this function) 23ossl_pkey_ec.c:821: error: (Each undeclared identifier is reported only once 24ossl_pkey_ec.c:821: error: for each function it appears in.) 25make[2]: *** [ossl_pkey_ec.o] エラー 1 26make[2]: ディレクトリ `/tmp/ruby-build.20170702023741.18938/ruby-2.0.0-p247/ext/openssl' から出ます 27make[1]: *** [ext/openssl/all] エラー 2 28make[1]: ディレクトリ `/tmp/ruby-build.20170702023741.18938/ruby-2.0.0-p247' から出ます 29make: *** [build-ext] エラー 2 30[vagrant@localhost ~]$ rbenv versions 31* 2.3.1 (set by /home/vagrant/.rbenv/version) 32[vagrant@localhost ~]$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv 33fatal: destination path '/home/vagrant/.rbenv' already exists and is not an empty directory.
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。