Issue #12630 has been updated by blackanger z.


~~~ ruby
vagrant:~$ ruby -v
ruby 2.4.0preview1 (2016-06-20 trunk 55466) [x86_64-linux]

vagrant:~$ which ruby
/home/vagrant/.rubies/ruby-2.4.0-preview1/bin/ruby

vagrant:~$ cd /home/vagrant/.rubies/ruby-2.4.0-preview1

vagrant:~/.rubies/ruby-2.4.0-preview1$ ls
bin  include  lib  share
vagrant:~/.rubies/ruby-2.4.0-preview1$ cd lib/ruby/2.4.0/x86_64-linux/
vagrant:~/.rubies/ruby-2.4.0-preview1/lib/ruby/2.4.0/x86_64-linux$ ls
bigdecimal.so    coverage.so   digest     etc.so    fiddle.so  json    objspace.so  psych.so  rbconfig     ripper.so  stringio.so  zlib.so
cgi              date_core.so  digest.so  fcntl.so  gdbm.so    mathn   openssl.so   pty.so    rbconfig.rb  sdbm.so    strscan.so
continuation.so  dbm.so        enc        fiber.so  io         nkf.so  pathname.so  racc      readline.so  socket.so  syslog.so

vagrant:~/.rubies/ruby-2.4.0-preview1/lib/ruby/2.4.0/x86_64-linux$ ldd openssl.so 
	linux-vdso.so.1 =>  (0x00007ffd4b9f9000)
	libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f601e79e000)
	libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f601e3c2000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f601e1a4000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f601dddf000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f601dbdb000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f601ec59000)
vagrant:~/.rubies/ruby-2.4.0-preview1/lib/ruby/2.4.0/x86_64-linux$ dpkg -s libssl1.0.0
Package: libssl1.0.0
Status: install ok installed
Priority: important
Section: libs
Installed-Size: 2944
Maintainer: Ubuntu Developers <ubuntu-devel-discuss / lists.ubuntu.com>
Architecture: amd64
Multi-Arch: same
Source: openssl
Version: 1.0.1f-1ubuntu2.19
Depends: libc6 (>= 2.14), debconf (>= 0.5) | debconf-2.0
Pre-Depends: multiarch-support
Description: Secure Sockets Layer toolkit - shared libraries
 This package is part of the OpenSSL project's implementation of the SSL
 and TLS cryptographic protocols for secure communication over the
 Internet.
 .
 It provides the libssl and libcrypto shared libraries.
Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel / lists.alioth.debian.org>

vagrant:~/.rubies/ruby-2.4.0-preview1/lib/ruby/2.4.0/x86_64-linux$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.3 LTS
Release:	14.04
Codename:	trusty
~~~

----------------------------------------
Bug #12630: add gem sources errors on Ruby 2.4.0-preview1
https://bugs.ruby-lang.org/issues/12630#change-59808

* Author: blackanger z
* Status: Feedback
* Priority: Normal
* Assignee: openssl
* ruby -v: ruby 2.4.0preview1 (2016-06-20 trunk 55466) [x86_64-linux]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
~~~
vagrant:~$ sudo lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.3 LTS
Release:	14.04
Codename:	trusty

vagrant:~$ ruby -v
ruby 2.4.0preview1 (2016-06-20 trunk 55466) [x86_64-linux]

vagrant:~$ gem sources 
*** CURRENT SOURCES ***

vagrant:~$ gem sources -a https://mirrors.ustc.edu.cn/rubygems/
Error fetching https://mirrors.ustc.edu.cn/rubygems/:
	SSL_CTX_set_ecdh_auto (https://mirrors.ustc.edu.cn/rubygems/specs.4.8.gz)

vagrant:~$ gem source -a https://gems.ruby-china.org
Error fetching https://gems.ruby-china.org:
	SSL_CTX_set_ecdh_auto (https://gems.ruby-china.org/specs.4.8.gz)

vagrant:~$ gem source -a https://rubygems.org/ 
Error fetching https://rubygems.org/:
	SSL_CTX_set_ecdh_auto (https://api.rubygems.org/specs.4.8.gz)

~~~





-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>