From: mapreferee ruby Date: 2011-12-26T09:58:57+09:00 Subject: Re: LoadError: cannot load such file -- feedtools 1. You are right, I can see the true response after adding that comment on the very top of the uri_helper.rb file. it seems that the problem is almost solved. Here is the message after the code irb(main):001:0> require 'feed_tools' /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead. => true 2. Here is another search result as well. aptitude search readline | grep ruby v libreadline-ruby - v libreadline-ruby1.8 - v libreadline-ruby1.9.1 - I also tried to make and make install ruby again from the source code. But it seems that nothing has changed. It might not be related to the installation process. p.s. I am new to Ruby, just try to experiment the power of it after some readings Andrei Beliankou wrote in post #1038162: > 1. > Ruby supposes the source files to be encoded in ASCII, but the file > > contains a non ASCII character on the line 43, which results in a > parsing error. > Under Ruby 1.8 it was possible to define the source encoding using the > <-K> option or with the $KCODE variable. Under Ruby 1.9 they are not the > preferred way. > The source file encoding can be provided in the source code itself by a > comment: > # coding: utf-8 > Since I'm using Emacs, I simply write: > # -*- encoding: utf-8 -*- > > You can hack into the file mentioned above and add this comment on the > very top of the file. > > 2. > You seem to have compiled Ruby from source. Ensure you've done it with > the readline support. Search for using your package > manager, e.g.: > $ aptitude search readline | grep ruby -- Posted via http://www.ruby-forum.com/.