From: Alex Young Date: 2006-12-09T01:33:28+09:00 Subject: Re: Execute environment - rake aborted! - no such file to load -- openssl dave . wrote: > Env: Ruby 1.8.5, Linux RedHat 7.3 > > openssl is installed but ruby still displays an error > > root@server [~]# openssl version > OpenSSL 0.9.8d 28 Sep 2006 > Just to be clear, you need *both* the openssl package, *and* the ruby-openssl bindings to be installed. If you haven't checked that you've got both, it may be what's tripping you up. I remember having exactly this problem on Debian. -- Alex > root@server [~]# ruby -rubygems -e "require 'payment'" > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require': no such file to load -- openssl (LoadError) > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from /usr/local/lib/ruby/1.8/net/https.rb:102 > 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/payment-1.0.1/lib/payment.rb:29 > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in > `gem_original_require' > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in > `require' > from -e:1 > >> From: "Jan Svitok" >> Reply-To: ruby-talk@ruby-lang.org >> To: ruby-talk@ruby-lang.org (ruby-talk ML) >> Subject: Re: Execute environment - rake aborted! - no such file to >> load -- openssl >> Date: Fri, 8 Dec 2006 18:22:55 +0900 >> >> On 12/8/06, dave . wrote: >>> >>> Env: Ruby 1.8.5, Linux >>> Any help would be greatly appreciated with this issue >>> Thanks >> >>> no such file to load -- openssl >>> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >>> `gem_original_require' >>> /usr/local/lib/ruby/gems/1.8/gems/payment-1.0.1/lib/payment.rb:29 >> >>> payment (1.0.1) >>> Payment is used to process credit cards and electronic cash through >>> merchant accounts. >> >>> require_gem 'payment' >> >> The openssl package is missing in your system. It is required by >> 'payment' gem. The solution depends on the distribution you are using. >> Try searching for ruby-openssl or something similar. >> >> You can check if you have fixed the issue by running just >> >> ruby -rubygems -e "require 'payment'" >> >> instead of the whole rails stuff. >> > > _________________________________________________________________ > Enter the "Telus Mobility Xbox a Day" contest for your chance to WIN! > Telus Mobility is giving away an Microsoft Xbox� 360 every day from > November 20 to December 31, 2006! Just download Windows Live (MSN) > Messenger to your IM-capable TELUS mobile phone, and you could be a > winner! http://www.telusmobility.com/msnxbox/ > >