Closed vikash-bhardwaj closed 11 years ago
I'm also seeing this in Windows 8.
I am also seeing the same on Windows Server 2008 R2, Ruby version: ruby 1.8.7 (2010-12-23 patchlevel 330) [i386-mingw32]. Installed juicer 1.0.18. When tried to run:juicer install yui_compressor, got the similar error:
C:/Ruby187/lib/ruby/1.8/net/http.rb:586:in connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL:: SSL::SSLError) from C:/Ruby187/lib/ruby/1.8/net/http.rb:586:in
connect'
from C:/Ruby187/lib/ruby/1.8/net/http.rb:553:in do_start' from C:/Ruby187/lib/ruby/1.8/net/http.rb:542:in
start'
from C:/Ruby187/lib/ruby/1.8/open-uri.rb:242:in open_http' from C:/Ruby187/lib/ruby/1.8/open-uri.rb:616:in
buffer_open'
from C:/Ruby187/lib/ruby/1.8/open-uri.rb:164:in open_loop' from C:/Ruby187/lib/ruby/1.8/open-uri.rb:162:in
catch'
from C:/Ruby187/lib/ruby/1.8/open-uri.rb:162:in open_loop' from C:/Ruby187/lib/ruby/1.8/open-uri.rb:132:in
open_uri'
from C:/Ruby187/lib/ruby/1.8/open-uri.rb:518:in open' from C:/Ruby187/lib/ruby/1.8/open-uri.rb:30:in
open'
from C:/Ruby187/lib/ruby/gems/1.8/gems/juicer-1.0.18/lib/juicer/install/yui_compressor_installer.rb:64:in latest' from C:/Ruby187/lib/ruby/gems/1.8/gems/juicer-1.0.18/lib/juicer/command/install.rb:57:in
version'
from C:/Ruby187/lib/ruby/gems/1.8/gems/juicer-1.0.18/lib/juicer/command/install.rb:42:in execute' from C:/Ruby187/lib/ruby/gems/1.8/gems/juicer-1.0.18/lib/juicer/command/install.rb:39:in
each'
from C:/Ruby187/lib/ruby/gems/1.8/gems/juicer-1.0.18/lib/juicer/command/install.rb:39:in execute' from C:/Ruby187/lib/ruby/gems/1.8/gems/cmdparse-2.0.3/lib/cmdparse.rb:436:in
parse'
from C:/Ruby187/lib/ruby/gems/1.8/gems/juicer-1.0.18/lib/juicer/cli.rb:27:in parse' from C:/Ruby187/lib/ruby/gems/1.8/gems/juicer-1.0.18/lib/juicer/cli.rb:37:in
run'
from C:/Ruby187/lib/ruby/gems/1.8/gems/juicer-1.0.18/bin/juicer:6
from C:/Ruby187/bin/juicer:19:in `load'
from C:/Ruby187/bin/juicer:19
I was finally able to get this working
gem install mechanize
webpage = Nokogiri::HTML(open(@website).read)
require "mechanize"
a = Mechanize.new a.agent.http.verify_mode = OpenSSL::SSL::VERIFY_NONE webpage = Nokogiri::HTML(a.get(@website).content)
I put the quick fix into 1.0.20.
Hi,
I have been trying lot of things to install the YUI Compressor but always getting below error, can you please help me in resolving this issue. It used to work in past but not now for me :(
I have tried installing latest version of Ruby and also updated the latest version of Rubygem and Juicer 1.0.18, still no luck.
Error: C:/Ruby193/lib/ruby/1.9.1/net/http.rb:799:in'
connect': SSL_connect returned=1 e rrno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL ::SSL::SSLError) from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:799:in
block in connect' from C:/Ruby193/lib/ruby/1.9.1/timeout.rb:54:intimeout' from C:/Ruby193/lib/ruby/1.9.1/timeout.rb:99:in
timeout' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:799:inconnect' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:755:in
do_start' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:744:instart' from C:/Ruby193/lib/ruby/1.9.1/open-uri.rb:306:in
open_http' from C:/Ruby193/lib/ruby/1.9.1/open-uri.rb:775:inbuffer_open' from C:/Ruby193/lib/ruby/1.9.1/open-uri.rb:203:in
block in open_loop' from C:/Ruby193/lib/ruby/1.9.1/open-uri.rb:201:incatch' from C:/Ruby193/lib/ruby/1.9.1/open-uri.rb:201:in
open_loop' from C:/Ruby193/lib/ruby/1.9.1/open-uri.rb:146:inopen_uri' from C:/Ruby193/lib/ruby/1.9.1/open-uri.rb:677:in
open' from C:/Ruby193/lib/ruby/1.9.1/open-uri.rb:33:inopen' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/juicer-1.0.18/lib/juicer/instal l/yui_compressor_installer.rb:64:in
latest' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/juicer-1.0.18/lib/juicer/comman d/install.rb:57:inversion' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/juicer-1.0.18/lib/juicer/comman d/install.rb:42:in
block in execute' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/juicer-1.0.18/lib/juicer/comman d/install.rb:39:ineach' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/juicer-1.0.18/lib/juicer/comman d/install.rb:39:in
execute' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/cmdparse-2.0.5/lib/cmdparse.rb: 464:inparse' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/juicer-1.0.18/lib/juicer/cli.rb :27:in
parse' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/juicer-1.0.18/lib/juicer/cli.rb :37:inrun' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/juicer-1.0.18/bin/juicer:6:in
<top (required)>' from C:/Ruby193/bin/juicer:23:inload' from C:/Ruby193/bin/juicer:23:in