2015-07-12 71 views
0

我一直在Rails的web應用程序的紅寶石 - 我試圖啓動一個rails服務器,但每次我輸入「rails s」到終端,出現錯誤代碼說:Rails服務器說圖像沒有找到

/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/usr/local/Cellar/ruby/2.1.4/lib/ruby/2.1.0/x86_64-darwin14.0/digest/sha1.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib (LoadError) 
Referenced from: /usr/local/Cellar/ruby/2.1.4/lib/ruby/2.1.0/x86_64-darwin14.0/digest/sha1.bundle 
Reason: image not found - /usr/local/Cellar/ruby/2.1.4/lib/ruby/2.1.0/x86_64-darwin14.0/digest/sha1.bundle" 

有一整串額外的輸出說「來自」。

有誰知道如何解決這個問題?我最近更新到Mac El Capitan Beta OS X.我不確定這是否是原因(rails昨天工作)。從昨天開始,我確實嘗試安裝sass bootstrap - 也許這是原因?

非常感謝任何幫助

+0

此消息基本上是說你錯過了你的計算機上的一些庫。也許試試'sudo apt-get install libcrypto' –

回答