obfuscurity / descartes

Introspective dashboard for Graphite
MIT License
504 stars 65 forks source link

gapps_openid.rb:7:in `require': no such file to load -- openssl (LoadError) #64

Closed Dieterbe closed 12 years ago

Dieterbe commented 12 years ago

on centos 6.2 64bit, followed the instructions for dev. setup. ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-linux]

$ foreman start
16:44:33 web.1  | started with pid 2431
16:44:35 web.1  | I, [2012-10-09T16:44:35.993580 #2431]  INFO -- OpenID: WARNING: no SSL support found.  Will not be able to fetch HTTPS URLs!
16:44:36 web.1  | /usr/local/rvm/gems/ruby-1.9.2-p320/gems/ruby-openid-apps-discovery-1.2.0/lib/gapps_openid.rb:7:in `require': no such file to load -- openssl (LoadError)
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/ruby-openid-apps-discovery-1.2.0/lib/gapps_openid.rb:7:in `<top (required)>'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/omniauth-google-apps-0.0.2/lib/openid/gapps.rb:2:in `require'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/omniauth-google-apps-0.0.2/lib/openid/gapps.rb:2:in `<top (required)>'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/omniauth-google-apps-0.0.2/lib/omniauth/strategies/google_apps.rb:2:in `require'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/omniauth-google-apps-0.0.2/lib/omniauth/strategies/google_apps.rb:2:in `<top (required)>'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/omniauth-google-apps-0.0.2/lib/omniauth-google-apps.rb:2:in `require'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/omniauth-google-apps-0.0.2/lib/omniauth-google-apps.rb:2:in `<top (required)>'
16:44:36 web.1  |   from /root/descartes/lib/descartes/web.rb:3:in `require'
16:44:36 web.1  |   from /root/descartes/lib/descartes/web.rb:3:in `<top (required)>'
16:44:36 web.1  |   from /root/descartes/config.ru:4:in `require'
16:44:36 web.1  |   from /root/descartes/config.ru:4:in `block in <main>'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
16:44:36 web.1  |   from /root/descartes/config.ru:1:in `new'
16:44:36 web.1  |   from /root/descartes/config.ru:1:in `<main>'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:137:in `start'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/bin/rackup:4:in `<top (required)>'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/rackup:19:in `load'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/rackup:19:in `<main>'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `eval'
16:44:36 web.1  |   from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `<main>'
16:44:36 web.1  | exited with code 1
16:44:36 system | sending SIGTERM to all processes
SIGTERM received
obfuscurity commented 12 years ago

Sounds like your Ruby was built without the proper openssl support. You might try the following:

http://www.ruby-forum.com/topic/90083#175543

obfuscurity commented 12 years ago

This isn't really a Descartes issue, but I'll leave this open until you can confirm the problem is resolved.

obfuscurity commented 12 years ago

Confirmed in IRC that the user had not build his Ruby properly with openssl support.