2012-04-19 2 views
1

내 컴퓨터를 포맷하고 모든 RoR 응용 프로그램을 새로운 Lubuntu 시스템으로 전송했습니다. 나는 Unity와 Ubuntu를 가지고있었습니다. (여전히 리눅스 시스템). 나는 rvm, ruby, rails를 설치했으며, 모두 잘 작동한다. 그런 다음 실제로 "rails s"를 실행하여 내 응용 프로그램을 테스트하기 전에 "번들 설치"를 실행합니다. 이것은 내가Ruby on Rails 및 SSL 오류

Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Please include the full output of the command, your Gemfile and Gemfile.lock. Thanks! 
/home/user/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- openssl (LoadError) 

어떤 도움을받을 무엇인가?

이-얻을 경향이있는 OpenSSL을 설치 나에게주는 sudo는 무엇인가 :

Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
openssl is already the newest version. 
The following packages were automatically installed and are no longer required: 
    libreadline-gplv2-dev git-man libncurses5-dev libnspr4-0d libtinfo-dev git libreadline5 zlib1g-dev liberror-perl libsqlite3-dev 
Use 'apt-get autoremove' to remove them. 
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 
+0

OpenSSL을 설치해야합니까

sudo apt-get install libssl-dev openssl 

를 실행, 루비 버전을 제거해보십시오 다음 루비 버전을 설치? sudo apt-get installsl –

+0

내 대답을 편집했습니다 –

+0

[질문] (http://stackoverflow.com/questions/8642368/why-require-mongo-gives-me-loaderror-no-such-file을 보시오. - 투 -로드 - openssl). –

답변

3

당신이 RVM와 루비 버전을 설치하기 전에 패키지를 설치 했습니까?

다시

+0

덕분에 잘 작동했습니다! –