エラー文
bundle install Your Gemfile lists the gem whenever (>= 0) more than once. You should probably keep only one of them. Remove any duplicate entries and specify the gem only once. While it's not a problem now, it could cause errors if you change the version of one of them later. /Users/.rbenv/versions/2.4.0/lib/ruby/2.4.0/digest.rb:16:in `const_missing': library not found for class Digest::SHA1 -- digest/sha1 (LoadError)
##試したこと
環境変数を通そうとした
ruby -r digest/sha1 -e 'p Digest::SHA1'
下記のエラーで実行出来ず
/Users/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': dlopen(/Users/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-darwin19/digest/sha1.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib (LoadError) Referenced from: /Users/nakagawajou/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-darwin19/digest/sha1.bundle Reason: image not found - /Users/nakagawajou/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-darwin19/digest/sha1.bundle from /Users/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
ruby 2.4.0
環境構築で完全に詰まってしまいましたよろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。