You are not logged in.
Pages: 1
Hi, after last update including openssl many things went quite wrong in my system, but there's one I just couldn't handle. It's Ruby Version Manager. When I try to fire some rails app I get:
=> Booting Mongrel
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
/home/pawel/.rvm/gems/ruby-1.8.7-p249/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010.  Use #requirement
/home/pawel/.rvm/gems/ruby-1.8.7-p249/gems/rails-2.3.5/lib/initializer.rb:271:in `require_frameworks': libcrypto.so.0.9.8: cannot open shared object file: No such file or directory - /home/pawel/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/i686-linux/openssl.so (RuntimeError)
    from /home/pawel/.rvm/gems/ruby-1.8.7-p249/gems/rails-2.3.5/lib/initializer.rb:134:in `process'
    from /home/pawel/.rvm/gems/ruby-1.8.7-p249/gems/rails-2.3.5/lib/initializer.rb:113:in `send'
    from /home/pawel/.rvm/gems/ruby-1.8.7-p249/gems/rails-2.3.5/lib/initializer.rb:113:in `run'
    from /home/pawel/ruby/rails/myapp/config/environment.rb:9
    from /home/pawel/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /home/pawel/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /home/pawel/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
    from /home/pawel/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
    from /home/pawel/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
    from /home/pawel/.rvm/gems/ruby-1.8.7-p249/gems/rails-2.3.5/lib/commands/server.rb:84
    from /home/pawel/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /home/pawel/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from script/server:3I recompiled rvm, ruby in it and majority of gems but it didn't work. Any ideas?
Last edited by Voronwe (2010-04-14 21:05:16)
Offline
OK, just to inform you, dirty workaround with symlinking libcrypto and libssl works, but is still not satisfactory.
Offline
You need to patch ruby's source files (RVM compiles ruby from source). Here's how I did it:
After trying to install ruby 1.8.7 with RVM and failing, I patched the source, then continued installation (RVM will not redownload the source tarball and simply compile the already extracted and patched source). You can get the patch from the AUR.
Offline
Pages: 1