0

突然、rvm が機能しなくなり、すべてのレールと rake コマンドでこのエラーが表示されます。

  /home/hb/.rvm/rubies/ruby-1.9.3-                                                                                                 p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': libcrypto.so.1.0.0: cannot open shared object file: No such file or directory - /home/hb/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/md5.so (LoadError)
from /home/hb/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hb/.rvm/gems/ruby-1.9.3-p194@demo/gems/railties-3.2.8/lib/rails/generators/app_base.rb:1:in `<top (required)>'
from /home/hb/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hb/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hb/.rvm/gems/ruby-1.9.3-p194@demo/gems/railties-3.2.8/lib/rails/generators/rails/app/app_generator.rb:1:in `<top (required)>'
from /home/hb/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hb/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hb/.rvm/gems/ruby-1.9.3-p194@demo/gems/railties-3.2.8/lib/rails/commands/application.rb:24:in `<top (required)>'
from /home/hb/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hb/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hb/.rvm/gems/ruby-1.9.3-p194@demo/gems/railties-3.2.8/lib/rails/cli.rb:15:in `<top (required)>'
from /home/hb/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hb/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hb/.rvm/gems/ruby-1.9.3-p194@demo/gems/railties-3.2.8/bin/rails:7:in `<top (required)>'
from /home/hb/.rvm/gems/ruby-1.9.3-p194@demo/bin/rails:19:in `load'
from /home/hb/.rvm/gems/ruby-1.9.3-p194@demo/bin/rails:19:in `<main>'
from /home/hb/.rvm/gems/ruby-1.9.3-p194@demo/bin/ruby_noexec_wrapper:14:in `eval'
from /home/hb/.rvm/gems/ruby-1.9.3-p194@demo/bin/ruby_noexec_wrapper:14:in `<main>'

この問題を解決するには?

4

1 に答える 1

0

1.9.3 を再インストールします。多くの場合に役立ちます。rvm は多少のハックであるため、多くの原因が考えられますが、再インストールを試みるのが最も苦痛ではありません。

于 2012-10-03T21:29:17.480 に答える