On Jul 12, 8:00 am, Nurzed Lkham <[email protected]>
wrote:
> I'm getting this error on Ubuntu 9.04 when trying to run this simple
> Rails application. How to solve this error?
>
You need the ruby openssl bindings (if you installed ruby via apt then
you can also install them via apt (called something like libopenssl-
ruby), if you installed ruby from source then you need to install the
openssl development package and then install the openssl-ruby bindings
(part of the ruby source code)).

Fred

Fred
> *** LOCAL GEMS ***
>
> actionmailer (2.3.2)
> actionpack (2.3.2)
> activerecord (2.3.2)
> activeresource (2.3.2)
> activesupport (2.3.2)
> mysql (2.7)
> rails (2.3.2)
> rake (0.8.7)
>
> Error :
>
> => Booting WEBrick
> => Rails 2.3.2 application starting 
> onhttp://0.0.0.0:3000/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/...
> `require_frameworks': no such file to load -- openssl (RuntimeError)
>   from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:134:in
> `process'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
> `send'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
> `run'
>   from /home/nuugii/workspace/demo/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.2/lib/active_support/de 
> pendencies.rb:156:in
> `require'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/de 
> pendencies.rb:521:in
> `new_constants_in'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/de 
> pendencies.rb:156:in
> `require'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/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