Openssl is located in /usr/lib/ruby/1.9.1. Is that a standard
location?

The version is openssl.rb 25189 2009-10-02 12:04:37Z akr. Is this the
correct version?

How do I enforce a rebuild of Ruby? Because a possible cause of the
problem is that openssl was added after the installation of Ruby.
On 14 Feb, 22:46, Leonardo Mateo wrote:
On Tue, Feb 14, 2012 at 6:01 PM, Tommy Pollak wrote:
This problem has been discussed a number of times, but none of the given
solutions seems to work for me.
Problem:
Trying to generate the infrastructure for testing with Cucumber gives the
following error
~/.../OTK-register$ rails generate cucumber:install
/home/tpollak/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in
`require': cannot load such file -- openssl (LoadError)
from
...
/usr/lib/ruby/1.9.1/openssl:
I have seen solutions for users of RVM (remove ruby and reinstall with
directory path for openssl, but can not adjust them for rbenv and my
installation of openssl.
Does somebody know how to fix the problem?
I don't know for rbenv, but usually this gets fixed when you have your
openssl dev files in an standard location at the time you compile
ruby.
Make sure of that and make sure you force the re-building of ruby.
(including the ./configure step).

HTH

--
Leonardo Mateo.
There's no place like ~
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 7 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedFeb 14, '12 at 9:01p
activeFeb 26, '12 at 11:16p
posts7
users3
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase