I''m getting this error on Ubuntu 9.04 when trying to run this simple Rails application. How to solve this error? *** 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 on http://0.0.0.0:3000 /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:269:in `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/dependencies.rb:156:in `require'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.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 via http://www.ruby-forum.com/.
Frederick Cheung
2009-Jul-12 10:12 UTC
Re: `require_frameworks'': no such file to load -- openssl
On Jul 12, 8:00 am, Nurzed Lkham <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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/.
Apparently Analagous Threads
- Rails & OpenSSL: `require_frameworks': no such file to load
- Problems installing mysql gem in Rails 2.2.2
- WEBrick.. won't start and showing '/rails-2.0.2/lib/initializer.rb:159:in `require_frameworks': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError)' errors
- ERROR NoMethodError: private method `gsub!' called
- How to upload file by ajax