Reputation: 373
I used the solution written by Radulescu to install openssl with ruby 1.9.3-p194. Then, I'm trying to require openssl, but I've got false return. Why?
bla git:(master) rails c
Loading development environment (Rails 3.2.6)
[1] pry(main)> require 'openssl'
=> false
Upvotes: 2
Views: 1006
Reputation: 6419
This simply means the library has already been loaded. If you try typing OpenSSL
, you'll see it's in your namespace.
By comparison, if you try to load a library that doesn't exist, you'll get an exception:
1.9.3p327 :003 > require 'does-not-exist'
LoadError: cannot load such file -- does-not-exist
Upvotes: 4