From: brabuhr@... Date: 2011-05-06T06:33:19+09:00 Subject: Re: Problem installing shoes3 on RHEL 6 On Thu, May 5, 2011 at 5:16 PM, wrote: >> */usr/local/shoes]$ ./shoes* >> uninitialized constant Encoding::UTF_7 > > It's interesting that the only results on Google for "uninitialized > constant Encoding::UTF_7" all relate to Hackety Hack. I was hesitant to suggest it, but try editing 'ruby/lib/uri/common.rb' (I guess it would be /usr/local/shoes/ruby/lib/uri/common.rb for you) to remove the reference to UTF_7: $ diff -u ruby/lib/uri/common.rb.orig ruby/lib/uri/common.rb --- ruby/lib/uri/common.rb.orig 2011-05-05 16:15:13.103236933 -0400 +++ ruby/lib/uri/common.rb 2011-05-05 16:15:31.462344142 -0400 @@ -718,8 +718,7 @@ TBLENCWWWCOMP_ = {} # :nodoc: TBLDECWWWCOMP_ = {} # :nodoc: - HTML5ASCIIINCOMPAT = [Encoding::UTF_7, Encoding::UTF_16BE, Encoding::UTF_16LE, - Encoding::UTF_32BE, Encoding::UTF_32LE] # :nodoc: + HTML5ASCIIINCOMPAT = [] # Encode given +str+ to URL-encoded form data. # And see what you get then.