Hi There, I''m getting the following errors while starting webrick.
I''m using (ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]), Rails
2.1.0, and Gem 1.2.0.
I''m using the same in my local server and its working perfectly.
=> Booting WEBrick...
/usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:
225:in `require_frameworks'': no such file to load -- openssl
(RuntimeError)
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/
initializer.rb:113:in `process''
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/
initializer.rb:93:in `send''
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/
initializer.rb:93:in `run''
from /var/www/vhosts/polycore.in/Rubyproject/abc/config/
environment.rb:13
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `gem_original_require''
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `require''
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:509:in `require''
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:354:in `new_constants_in''
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:509:in `require''
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/
commands/servers/webrick.rb:59
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `gem_original_require''
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `require''
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:509:in `require''
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:354:in `new_constants_in''
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:509:in `require''
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/
commands/server.rb:39
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `gem_original_require''
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `require''
from script/server:3
Please help me what should I do resolve this.
Thanks to all
Mohd Anas
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
On 20 Aug 2008, at 15:23, mohdanas wrote:> > Hi There, I''m getting the following errors while starting webrick. > I''m using (ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]), Rails > 2.1.0, and Gem 1.2.0. > I''m using the same in my local server and its working perfectly. >You need the ruby openssl libraries (eg libopenssl-ruby1.8 on ubuntu) Fred>--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks For reply, I am using CentOS5. On Aug 20, 7:28 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 20 Aug 2008, at 15:23, mohdanas wrote: > > > > > Hi There, I''m getting the following errors while starting webrick. > > I''m using (ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]), Rails > > 2.1.0, and Gem 1.2.0. > > I''m using the same in my local server and its working perfectly. > > You need the ruby openssl libraries (eg libopenssl-ruby1.8 on ubuntu) > > Fred > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Fred for all your support. I got this problem solved by installing openssl-devel packages and reconfigure all the ruby packages from scratch. On Aug 21, 10:34 am, mohdanas <anas.li...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thanks For reply, > I am using CentOS5. > > On Aug 20, 7:28 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > On 20 Aug 2008, at 15:23, mohdanas wrote: > > > > Hi There, I''m getting the following errors while starting webrick. > > > I''m using (ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]), Rails > > > 2.1.0, and Gem 1.2.0. > > > I''m using the same in my local server and its working perfectly. > > > You need the rubyopenssllibraries (eg libopenssl-ruby1.8 on ubuntu) > > > Fred--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---