Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run " bundle exec jekyll serve " appear an error #175

Closed
mkfoyw opened this issue Dec 9, 2017 · 2 comments
Closed

run " bundle exec jekyll serve " appear an error #175

mkfoyw opened this issue Dec 9, 2017 · 2 comments

Comments

@mkfoyw
Copy link

mkfoyw commented Dec 9, 2017

Linux 4.14.4-1-ARCH
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]

bundle exec jekyll serve (master✱)
/usr/lib/ruby/2.4.0/json/version.rb:4: warning: already initialized constant JSON::VERSION
/home/mkfoy/.gem/ruby/2.4.0/gems/json-2.1.0/lib/json/version.rb:4: warning: previous definition of VERSION was here
/usr/lib/ruby/2.4.0/json/version.rb:5: warning: already initialized constant JSON::VERSION_ARRAY
/home/mkfoy/.gem/ruby/2.4.0/gems/json-2.1.0/lib/json/version.rb:5: warning: previous definition of VERSION_ARRAY was here
/usr/lib/ruby/2.4.0/json/version.rb:6: warning: already initialized constant JSON::VERSION_MAJOR
/home/mkfoy/.gem/ruby/2.4.0/gems/json-2.1.0/lib/json/version.rb:6: warning: previous definition of VERSION_MAJOR was here
/usr/lib/ruby/2.4.0/json/version.rb:7: warning: already initialized constant JSON::VERSION_MINOR
/home/mkfoy/.gem/ruby/2.4.0/gems/json-2.1.0/lib/json/version.rb:7: warning: previous definition of VERSION_MINOR was here
/usr/lib/ruby/2.4.0/json/version.rb:8: warning: already initialized constant JSON::VERSION_BUILD
/home/mkfoy/.gem/ruby/2.4.0/gems/json-2.1.0/lib/json/version.rb:8: warning: previous definition of VERSION_BUILD was here
/usr/lib/ruby/2.4.0/json/common.rb:100: warning: already initialized constant JSON::NaN
/home/mkfoy/.gem/ruby/2.4.0/gems/json-2.1.0/lib/json/common.rb:100: warning: previous definition of NaN was here
/usr/lib/ruby/2.4.0/json/common.rb:102: warning: already initialized constant JSON::Infinity
/home/mkfoy/.gem/ruby/2.4.0/gems/json-2.1.0/lib/json/common.rb:102: warning: previous definition of Infinity was here
.............................................................................................................
...................................................................................
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NETSCAPE_CHALLENGE_BUG
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_SSLREF2_REUSE_CERT_TYPE_BUG
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_MICROSOFT_BIG_SSLV3_BUFFER
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_MSIE_SSLV2_RSA_PADDING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_SSLEAY_080_CLIENT_DH_BUG
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_TLS_D5_BUG
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_TLS_BLOCK_PADDING_BUG
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant : already initialized constant OpenSSL::ASN1::OBJECT
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::OBJECT_DESCRIPTOR
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::EXTERNAL
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::REAL
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::ENUMERATED
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::EMBEDDED_PDV
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::UTF8STRING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::RELATIVE_OID
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::SEQUENCE
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::SET
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::NUMERICSTRING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::PRINTABLESTRING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::T61STRING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::VIDEOTEXSTRING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::IA5STRING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::UTCTIME
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::GENERALIZEDTIME
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::GRAPHICSTRING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::ISO64STRING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::GENERALSTRING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::UNIVERSALSTRING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::CHARACTER_STRING
/usr/lib/ruby/2.4.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::BMPSTRING
/usr/lib/ruby/2.4.0/openssl/pkey.rb:8: warning: already initialized constant OpenSSL::PKey::DH::DEFAULT_1024
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/pkey.rb:8: warning: previous definition of DEFAULT_1024 was here
/usr/lib/ruby/2.4.0/openssl/pkey.rb:17: warning: already initialized constant OpenSSL::PKey::DH::DEFAULT_2048
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/pkey.rb:17: warning: previous definition of DEFAULT_2048 was here
/usr/lib/ruby/2.4.0/openssl/pkey.rb:30: warning: already initialized constant OpenSSL::PKey::DEFAULT_TMP_DH_CALLBACK
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/pkey.rb:30: warning: previous definition of DEFAULT_TMP_DH_CALLBACK was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:18: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::AES
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:24: warning: previous definition of AES was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:18: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::CAST5
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:24: warning: previous definition of CAST5 was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:18: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::BF
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:24: warning: previous definition of BF was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:18: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::DES
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:24: warning: previous definition of DES was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:18: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::IDEA
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:24: warning: previous definition of IDEA was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:18: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::RC2
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:24: warning: previous definition of RC2 was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:18: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::RC4
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:24: warning: previous definition of RC4 was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:18: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::RC5
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:24: warning: previous definition of RC5 was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:28: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:33: warning: already initialized constant OpenSSL::Cipher::AES128
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:33: warning: previous definition of AES128 was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:28: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:33: warning: already initialized constant OpenSSL::Cipher::AES192
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:33: warning: previous definition of AES192 was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:28: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:33: warning: already initialized constant OpenSSL::Cipher::AES256
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:33: warning: previous definition of AES256 was here
/usr/lib/ruby/2.4.0/openssl/cipher.rb:64: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/2.4.0/openssl/cipher.rb:64: warning: constant OpenSSL::Cipher::Cipher is deprecated
jekyll 3.6.2 | Error: superclass mismatch for class Cipher

@mkfoyw
Copy link
Author

mkfoyw commented Dec 9, 2017

jekyll 3.6.2 | Error: superclass mismatch for class Cipher

@rhenium
Copy link
Member

rhenium commented Dec 9, 2017

/usr/lib/ruby/2.4.0/openssl/cipher.rb:33: warning: already initialized constant OpenSSL::Cipher::AES256
/home/mkfoy/.gem/ruby/2.4.0/gems/openssl-2.0.6/lib/openssl/cipher.rb:33: warning: previous definition of AES256 was here

Two different versions of openssl is loaded at the same time. This is wrong, and reminds me of #103, which should be fixed by upgrading to Bundler 1.14.5 or newer.

First try upgrading Bundler to a newer one. I suggest you report to Jekyll, with an instruction how they can reproduce the problem, if it does not work.

This is not an issue of the openssl gem anyway, hence I'm closing this.

@rhenium rhenium closed this as completed Dec 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants