Skip to content
Browse files

Added read so that it works in RackCloud Centos 5.6

  • Loading branch information...
1 parent 5646ea9 commit 9e33ebc7c4bb91f81846f5eead727856212e67b5 @jamster jamster committed Sep 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/juicer/install/yui_compressor_installer.rb
View
2 lib/juicer/install/yui_compressor_installer.rb
@@ -60,7 +60,7 @@ def uninstall(version = nil)
#
def latest
return @latest if @latest
- webpage = Nokogiri::HTML(open(@website))
+ webpage = Nokogiri::HTML(open(@website).read)
a = webpage.css('#downloads #dl_list ul li:first a').first
@href = a['href']
@latest = a.text.match(/\d\.\d\.\d/)[0]

0 comments on commit 9e33ebc

Please sign in to comment.
Something went wrong with that request. Please try again.