1. 程式人生 > >Rails錯誤:LoadError: no such file to load – openssl 解決辦法

Rails錯誤:LoadError: no such file to load – openssl 解決辦法

  1. Install openssl and openssl-devel.
    aptitude install libssl-dev
    
  2. Go to your Ruby source directory and run the following commands:
    cd ext/openssl
    rvmsudo ruby extconf.rb
    make
    make install
    

相關推薦

Rails錯誤LoadError: no such file to loadopenssl 解決辦法

Install openssl and openssl-devel. aptitude install libssl-dev Go to your Ruby source directory and run the following commands: cd ext/openssl rvmsudo r

Redis叢集gem_original_require: no such file to load -- redis

問題現象 執行建立叢集命令: ./redis-trib.rb create --replicas 1 192.168.101.3:7001 192.168.101.3:7002 192.168.101.3:70

Redis叢集./redis-trib.rb:24:in `require': no such file to load -- rubygems

問題現象 執行建立叢集命令: ./redis-trib.rb create --replicas 1 192.168.101.3:7001 192.168.101.3:7002 192.168.101.3:70

mysql不能啟動Unit mysql.service failed to load: No such file or directory的解決辦法

Failed to issue method call: Unit MySQL.service failed to load: No such file or directory的解決辦法 1、軟體環境: OpenSUSE 13.1 x64 MySQL 5.6.20 x

nginx啟動報錯nginx: [error] open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory) 的解決辦法

問題:   重啟虛擬機器後,再次重啟nginx會報錯: nginx: [error] open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory)  問題原因:   提示資訊說明在 /var/

Failed to issue method call Unit mysql service failed to load No such file or directory的解決辦法

                Failed to issue method call: Unit mysql.service failed to load: No such file or directory的解決辦法1、軟體環境:OpenSUSE 13.1 x64MySQL 5.6.20 x642、採用R

stdint.h No such file or directory的解決辦法

在使用VS2008編譯Python第三方擴充套件包時,碰到stdint.h: No such file or directory的錯誤, 這個錯誤是由於VS2008 VC編譯器沒有包含stdint.h 檔案,沒錯就是沒有包含,微軟沒有提供這個檔案, 找一個stdint.h

inux指令碼報錯 /bin/bash^M: bad interpreter: No such file or directory 的解決辦法

問題描述: 執行初始化指令碼的時候遇到一個很奇怪的錯誤,老是提示檔案或目錄找不到. 開啟指令碼反覆檢查,發現路徑都是對的 然後google了一下發現原來是我的檔案格式寫錯了,在windows下用檔案編輯器編輯的預設格式是dos 解決辦法: 在linux下需要把格式改為unix,這

執行shell指令碼時提示bad interpreter:No such file or directory的解決辦法

故障現象:在終端直接cd /var正常,在shell指令碼中執行則報錯。原因是指令碼是在windows平臺下寫的,換行符與linux不同,造成指令碼不能正確執行 出現bad interpreter:No such file or directory(沒有那個檔案或目錄)

Linux下出現 error: mysql.h: No such file or directory 的解決辦法

在linux 下使用C語言呼叫 mysql的庫會出現找不到 mysql.h 的錯誤,解決辦法如下 在使用GCC編譯的時候,加上如下幾句 需要在gcc編譯時指定 標頭檔案地址,用命令mysql_config,即可獲取mysql安裝後頭檔案所在位置,庫檔案所在位置,之後指

關於shell指令碼提示No such file or directory的解決辦法和原因

 在執行剛編寫完的shell指令碼時,報錯現象:解決辦法:   vim模式開啟這個shell指令碼,檢視編碼格式後設置成unix編碼   具體操作:            vim shellarr.sh開啟指令碼,ctrl+c進入輸入:命令的格式,輸入:set ff?,檢視格

Qt編譯錯誤“GL/gl.h:No such file or directory”的解決方法

導致 安裝 egl 新版 工具 ubunt 沒有 一個 -o 備註:1)操作系統:Ubuntu-14.04或12.042)Linux用戶:root3)Qt版本:qt-linux-opensource-5.2.0-x86 為了迎接Qt的新紀元(從諾基亞移居到

解決MAC下PHP連接MYSQL錯誤Warning: mysql_connect(): No such file or directory in conn.php

命令 data hpu mar 找到 clas p s connect file 今天在mac上用php去連接mysql數據庫,出現了 mac PHP Warning: mysql_connect(): [2002] No such file...

CentOS 7.x關閉/開啟防火牆出現Unit iptables.service failed to load: No such file or directory問題解決

一直用CentOS 6.x,今天用CentOS7.3版本時,防火牆配置後執行service iptables start出現”Failed to restart iptables.service: Unit iptables.service failed to load: No such file or di

hadoop fs -ls 報錯 ls: `.': No such file or directory

安裝好的Hadoop系統驗證是否安裝成功時使用命令: 結果報錯:解決方法 hadoop fs -ls 命令的完整語法是:hadoop fs -ls [path] 預設情況下當你未指定[path] 時,hadoop會在HDFS裡面將路徑擴充套件為/home/[user

gcc: error trying to exec 'cc1': execvp: No such file or directory 的解決

檢查gcc和cpp是否安裝,如果已經安裝,檢查版本是否一致,如果一致還包錯的話,那麼解除安裝gcc和cpp,重新編譯安裝gcc和cpp 檢查命令: rpm -q gcc     rpm-q cpp 安裝命令:rpm -ivh xx.rpm 解除安裝命令:rpm -e x

交叉編譯環境的建立no such file or directory的解決方法

建立交叉編譯環境,首先修改了/etc/bash.bashrc中的PATH,發現即使在路徑中有該檔案的東西,可是還是會報“”no such file or directory“”的錯誤,於是在網上尋找了一會答案,發現是缺

psutil安裝錯誤"Python.h: No such file or directory"解決

下載psutil原始碼包:wget https://pypi.python.org/packages/source/p/psutil/psutil-2.0.0.tar.gz 然後解壓安裝:sudo python setup.py install,出現如下錯誤: 需要安裝依

用idea+maven編譯打包spark project core錯誤java.lang.RuntimeException: Unable to load a Suite class

ide exception 5-0 sco anon time arp create run Discovery starting. *** RUN ABORTED *** java.lang.RuntimeException: Unable to load a Su

nginx 在檢查是否可啟動出現問題(cannot open shared objectfile: No such file or directory)的解決

ngnix在檢查是否可啟動的時候,出現下面問題: (venv) [email protected]:/data/server/nginx#./sbin/nginx -t ./sbin/nginx:error while loading shared librarie