On Oct 20, 8:01 am, Nik Winter <[email protected]>
wrote:
> I have Ruby 1.8.7, Gems 1.3.5, Rails 2.3.4, OpenSSL 0.9.8k installed on
> a Solaris machine.
>
> I have tried using the extconf.rb in ruby/ext/opennsl, but I get this:
> checking for openssl/ssl.h... no

Maybe you need to tell extconf where you ssl stuff is. You should be
able to do something along the lines of

ruby extconf --with-openssl-include=/path/to/openssl/headers --with-
openssl-lib=/path/to/openssl/libraries

Fred
>
> Any help would be appreciated.
>
> --------------------
> # ruby script/server
> => Booting WEBrick
> => Rails 2.3.4 application starting 
> onhttp://0.0.0.0:3000/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/...
> `require_frameworks': no such file to load -- openssl (RuntimeError)
>         from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:134:in
> `process'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in
> `send'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in
> `run'
>         from /scratch/usr/local/railstest/config/environment.rb:9
>         from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>         from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/de 
> pendencies.rb:156:in
> `require'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/de 
> pendencies.rb:521:in
> `new_constants_in'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/de 
> pendencies.rb:156:in
> `require'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:84
>         from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>         from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>         from script/server:3
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to