Re: Webrick ''require_frameworks'' message

Frederick Cheung
Fri, 28 Dec 2007 20:20:18 -0000

On 28 Dec 2007, at 16:13, Ken Welborn wrote:

>
> Any ideas if this is a version or a config issue?
> Runmning Gems 1.0.1, rails is 2.0.2
> kenbob
> -----------------------
> ruby script/server
> => Booting WEBrick...
> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:159:in
> `require_frameworks'': no such file to load -- openssl
(RuntimeError)

Do you have openssl installed (and openssl development headers so that
ruby can build its openssl extensions) ?

Fred

>
>        from
> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:88:in
> `process''
>        from
> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:in
> `send''
>        from
> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:in
`run''
>        from /home/kenny/KensLib/myrails/Dec28/config/environment.rb:13
>        from
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require''
>        from
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require''
>        from
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> dependencies.rb:496:in
> `require''
>        from
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> dependencies.rb:342:in
> `new_constants_in''
>         ... 7 levels...
>        from
> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
>        from
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require''
>        from
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require''
>        from script/server:3
> --
> Posted via http://www.ruby-forum.com/.
>
> >