This problem has been discussed a number of times, but none of the given
solutions seems to work for me.

Trying to generate the infrastructure for testing with Cucumber gives
the following error

~/.../OTK-register$ rails generate cucumber:install
`require': cannot load such file -- openssl (LoadError)
`block in require'
/gems/railties-3.2.1/lib/rails/application.rb:103:in `require_environment!'
`<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'

My environment is Ubuntu 11.10, Rails 3.2.1, ruby 1.9.3p0 (2011-10-30
revision 33570) [i686-linux]


~/.../OTK-register$ bundle install
Using rake (
Using i18n (0.6.0)
Using multi_json (1.0.4)
Using activesupport (3.2.1)
Using builder (3.0.0)
Using activemodel (3.2.1)
Using erubis (2.7.0)
Using journey (1.0.1)
Using rack (1.4.1)
Using rack-cache (1.1)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.1.2)
Using actionpack (3.2.1)
Using mime-types (1.17.2)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.4.1)
Using actionmailer (3.2.1)
Using arel (3.0.0)
Using tzinfo (0.3.31)
Using activerecord (3.2.1)
Using activeresource (3.2.1)
Using bundler (1.0.22)
Using nokogiri (1.5.0)
Using ffi (1.0.11)
Using childprocess (0.3.1)
Using rubyzip (
Using selenium-webdriver (2.19.0)
Using xpath (0.1.4)
Using capybara (1.1.2)
Using coffee-script-source (1.2.0)
Using execjs (1.3.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Using json (1.6.5)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.2.1)
Using coffee-rails (3.2.2)
Using diff-lcs (1.1.3)
Using gherkin (2.7.7)
Using term-ansicolor (1.0.7)
Using cucumber (1.1.4)
Using cucumber-rails (1.2.1)
Using database_cleaner (0.7.1)
Using mysql2 (0.3.11)
Using rails (3.2.1)
Using rspec-core (2.8.0)
Using rspec-expectations (2.8.0)
Using rspec-mocks (2.8.0)
Using rspec (2.8.0)
Using rspec-rails (2.8.1)
Using sass (3.1.15)
Using sass-rails (3.2.4)
Using uglifier (1.2.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a
bundled gem is installed.


~$ ls /*/*/*/*/openssl* | grep 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?

Tommy Pollák
Wiboms v 12, 2 tr
S-171 60 SOLNA

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
To unsubscribe from this group, send email to
For more options, visit this group at

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 7 | next ›
Discussion Overview
grouprubyonrails-talk @
postedFeb 14, '12 at 9:01p
activeFeb 26, '12 at 11:16p



site design / logo © 2022 Grokbase