2012-04-19 20 views
1

私のコンピュータをフォーマットし、私のすべてのRoRアプリケーションを新しいLubuntuシステムに転送しました。 私はUbuntuとUnityを持っていました。 (まだLinuxシステムです)。私はrvm、ruby、railsをインストールしました。それらはすべて正常に動作します!次に、実際に "rails s"を実行してアプリをテストする前に "bundle install"を実行します。 これは私が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をインストールapt-getを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 installslをダウンロード –

+0

私は私の答えを編集しました –

+0

この[質問]を見てみることを検討してください(http://stackoverflow.com/questions/8642368/why-require-mongo-gives-me-loaderror-no-such-file -to-load-openssl)。 –

答えて

3

あなたはRVMとルビーのバージョンをインストールする前に、パッケージをインストールしましたか?

sudo apt-get install libssl-dev openssl 

を実行している、ルビーのバージョンを削除してください、その後

+0

うまく働いてくれてありがとう! –